diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java b/google-api-grpc/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
index 8098ea084b6f..1ae87bc3751b 100644
--- a/google-api-grpc/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
+++ b/google-api-grpc/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductSearchGrpc.java
@@ -1133,8 +1133,8 @@ public void updateProductSet(
*
*
*
- * Permanently deletes a ProductSet. All Products and ReferenceImages in the
- * ProductSet will be deleted.
+ * Permanently deletes a ProductSet. Products and ReferenceImages in the
+ * ProductSet are not deleted.
* The actual image files are not deleted from Google Cloud Storage.
* Possible errors:
* * Returns NOT_FOUND if the ProductSet does not exist.
@@ -1620,8 +1620,8 @@ public void updateProductSet(
*
*
*
- * Permanently deletes a ProductSet. All Products and ReferenceImages in the
- * ProductSet will be deleted.
+ * Permanently deletes a ProductSet. Products and ReferenceImages in the
+ * ProductSet are not deleted.
* The actual image files are not deleted from Google Cloud Storage.
* Possible errors:
* * Returns NOT_FOUND if the ProductSet does not exist.
@@ -2018,8 +2018,8 @@ public com.google.cloud.vision.v1.ProductSet updateProductSet(
*
*
*
- * Permanently deletes a ProductSet. All Products and ReferenceImages in the
- * ProductSet will be deleted.
+ * Permanently deletes a ProductSet. Products and ReferenceImages in the
+ * ProductSet are not deleted.
* The actual image files are not deleted from Google Cloud Storage.
* Possible errors:
* * Returns NOT_FOUND if the ProductSet does not exist.
@@ -2372,8 +2372,8 @@ protected ProductSearchFutureStub build(
*
*
*
- * Permanently deletes a ProductSet. All Products and ReferenceImages in the
- * ProductSet will be deleted.
+ * Permanently deletes a ProductSet. Products and ReferenceImages in the
+ * ProductSet are not deleted.
* The actual image files are not deleted from Google Cloud Storage.
* Possible errors:
* * Returns NOT_FOUND if the ProductSet does not exist.
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 82bd4c887208..2cacf8c374ff 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.1-SNAPSHOT
+ 0.46.0
grpc-google-cloud-vision-v1p1beta1
GRPC library for grpc-google-cloud-vision-v1p1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 e0321b211a6a..7cd06ab2ccc1 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.1-SNAPSHOT
+ 1.45.0
grpc-google-cloud-vision-v1p2beta1
GRPC library for grpc-google-cloud-vision-v1p2beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 d942ada72de6..b4579a4ba924 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.1-SNAPSHOT
+ 0.46.0
grpc-google-cloud-vision-v1p3beta1
GRPC library for grpc-google-cloud-vision-v1p3beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 cfea630afe96..717c18d51daa 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.1-SNAPSHOT
+ 0.46.0
grpc-google-cloud-websecurityscanner-v1alpha
GRPC library for grpc-google-cloud-websecurityscanner-v1alpha
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.0
diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml
index 9112d8746cee..008015ec8e40 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.1-SNAPSHOT
+ 0.46.0
Google Cloud API gRPC
https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc
@@ -125,7 +125,7 @@
com.google.api.grpc
proto-google-common-protos
- 1.12.0
+ 1.14.0
com.google.api.grpc
@@ -142,517 +142,517 @@
com.google.api.grpc
proto-google-cloud-asset-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-asset-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-automl-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-automl-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-bigtable-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-bigtable-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-bigtable-admin-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-bigtable-admin-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-bigquerydatatransfer-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-bigquerydatatransfer-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-bigquerystorage-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-bigquerystorage-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-container-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-container-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-containeranalysis-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-containeranalysis-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-dataproc-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-dataproc-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-dataproc-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-dataproc-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-datastore-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-dlp-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-dlp-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-dialogflow-v2beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-dialogflow-v2beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-dialogflow-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-dialogflow-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-error-reporting-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-error-reporting-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-firestore-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-firestore-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-firestore-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-firestore-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-kms-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-kms-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-language-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
grpc-google-cloud-language-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
proto-google-cloud-language-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-language-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-monitoring-v3
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
grpc-google-cloud-monitoring-v3
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
proto-google-cloud-os-login-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-os-login-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-pubsub-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
grpc-google-cloud-pubsub-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
proto-google-cloud-redis-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-redis-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-redis-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-redis-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-scheduler-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-scheduler-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-spanner-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
grpc-google-cloud-spanner-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
proto-google-cloud-spanner-admin-database-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-database-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
proto-google-cloud-spanner-admin-instance-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
grpc-google-cloud-spanner-admin-instance-v1
- 1.7.1-SNAPSHOT
+ 1.8.0
com.google.api.grpc
proto-google-cloud-speech-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-speech-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-speech-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-speech-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-speech-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-speech-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-tasks-v2beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-tasks-v2beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-tasks-v2beta3
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-tasks-v2beta3
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-texttospeech-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-texttospeech-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-texttospeech-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-texttospeech-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-trace-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-trace-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-trace-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-trace-v2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-vision-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
grpc-google-cloud-vision-v1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
proto-google-cloud-vision-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-vision-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-vision-v1p2beta1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
grpc-google-cloud-vision-v1p2beta1
- 1.44.1-SNAPSHOT
+ 1.45.0
com.google.api.grpc
proto-google-cloud-vision-v1p3beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-vision-v1p3beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-video-intelligence-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-video-intelligence-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1beta2
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-video-intelligence-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-video-intelligence-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1p1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-video-intelligence-v1p2beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1p2beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-iot-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-iot-v1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-securitycenter-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-securitycenter-v1beta1
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-websecurityscanner-v1alpha
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
grpc-google-cloud-websecurityscanner-v1alpha
- 0.45.1-SNAPSHOT
+ 0.46.0
com.google.api.grpc
proto-google-cloud-iamcredentials-v1
- 0.7.1-alpha-SNAPSHOT
+ 0.8.0-alpha
com.google.api.grpc
grpc-google-cloud-iamcredentials-v1
- 0.7.1-alpha-SNAPSHOT
+ 0.8.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 922044726956..436f72a8df5f 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-asset-v1beta1
PROTO library for proto-google-cloud-asset-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 7a1a19b518fb..7d18daf4c020 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-automl-v1beta1
PROTO library for proto-google-cloud-automl-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c0f788b2ca4a..f7f36a12ff2b 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-bigquerydatatransfer-v1
PROTO library for proto-google-cloud-bigquerydatatransfer-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 f813941a8202..f697f2ba3189 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-bigquerystorage-v1beta1
PROTO library for proto-google-cloud-bigquerystorage-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 36560004bed3..52d73b5148e3 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-bigtable-admin-v2
PROTO library for proto-google-cloud-bigtable-admin-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c53679f27b73..4ec4ce0e1181 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-bigtable-v2
PROTO library for proto-google-cloud-bigtable-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 38c9f9c15ccf..8fe21aa3f0ff 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-container-v1
PROTO library for proto-google-cloud-container-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c8aecf23956f..61a62cb231ca 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-containeranalysis-v1beta1
PROTO library for proto-google-cloud-containeranalysis-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 14fb6688a6bb..526c10812453 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-dataproc-v1
PROTO library for proto-google-cloud-dataproc-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 ce743fb058f0..7019b0a5598b 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-dataproc-v1beta2
PROTO library for proto-google-cloud-dataproc-v1beta2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 03671f64b1e5..5d087f84c1c1 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-datastore-v1
PROTO library for proto-google-cloud-datastore-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c5f2497928b8..9f5c69e48ffc 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-dialogflow-v2
PROTO library for proto-google-cloud-dialogflow-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 27da3a76c076..d83c0ac96519 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-dialogflow-v2beta1
PROTO library for proto-google-cloud-dialogflow-v2beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 56324dd316e6..5d031671e68c 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-dlp-v2
PROTO library for proto-google-cloud-dlp-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.0
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
index 7d032c6dc068..f8be42019833 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
@@ -101,6 +101,25 @@ private Action(
actionCase_ = 3;
break;
}
+ case 66:
+ {
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null;
+ if (actionCase_ == 8) {
+ subBuilder =
+ ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder();
+ }
+ action_ =
+ input.readMessage(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
+ action_ = subBuilder.buildPartial();
+ }
+ actionCase_ = 8;
+ break;
+ }
default:
{
if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -1875,209 +1894,707 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceF
}
}
- private int actionCase_ = 0;
- private java.lang.Object action_;
-
- public enum ActionCase implements com.google.protobuf.Internal.EnumLite {
- SAVE_FINDINGS(1),
- PUB_SUB(2),
- PUBLISH_SUMMARY_TO_CSCC(3),
- ACTION_NOT_SET(0);
- private final int value;
-
- private ActionCase(int value) {
- this.value = value;
- }
- /** @deprecated Use {@link #forNumber(int)} instead. */
- @java.lang.Deprecated
- public static ActionCase valueOf(int value) {
- return forNumber(value);
- }
-
- public static ActionCase forNumber(int value) {
- switch (value) {
- case 1:
- return SAVE_FINDINGS;
- case 2:
- return PUB_SUB;
- case 3:
- return PUBLISH_SUMMARY_TO_CSCC;
- case 0:
- return ACTION_NOT_SET;
- default:
- return null;
- }
- }
-
- public int getNumber() {
- return this.value;
- }
- };
-
- public ActionCase getActionCase() {
- return ActionCase.forNumber(actionCase_);
- }
-
- public static final int SAVE_FINDINGS_FIELD_NUMBER = 1;
- /**
- *
- *
- *
- * Save resulting findings in a provided location.
- *
- *
- * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
- */
- public boolean hasSaveFindings() {
- return actionCase_ == 1;
- }
- /**
- *
- *
- *
- * Save resulting findings in a provided location.
- *
- *
- * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
- */
- public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
- if (actionCase_ == 1) {
- return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
- }
- return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance();
- }
+ public interface JobNotificationEmailsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails)
+ com.google.protobuf.MessageOrBuilder {}
/**
*
*
*
- * Save resulting findings in a provided location.
+ * Enable email notification to project owners and editors on jobs's
+ * completion/failure.
*
*
- * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
*/
- public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() {
- if (actionCase_ == 1) {
- return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
+ public static final class JobNotificationEmails extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
+ JobNotificationEmailsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use JobNotificationEmails.newBuilder() to construct.
+ private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
}
- return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance();
- }
- public static final int PUB_SUB_FIELD_NUMBER = 2;
- /**
- *
- *
- *
- * Publish a notification to a pubsub topic.
- *
- *
- * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
- */
- public boolean hasPubSub() {
- return actionCase_ == 2;
- }
- /**
- *
- *
- *
- * Publish a notification to a pubsub topic.
- *
- *
- * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
- */
- public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
- if (actionCase_ == 2) {
- return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
- }
- return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance();
- }
- /**
- *
- *
- *
- * Publish a notification to a pubsub topic.
- *
- *
- * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
- */
- public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() {
- if (actionCase_ == 2) {
- return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
+ private JobNotificationEmails() {}
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
}
- return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance();
- }
- public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3;
- /**
- *
- *
- *
- * Publish summary to Cloud Security Command Center (Alpha).
- *
- *
- * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
- */
- public boolean hasPublishSummaryToCscc() {
- return actionCase_ == 3;
- }
- /**
- *
- *
- *
- * Publish summary to Cloud Security Command Center (Alpha).
- *
- *
- * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
- */
- public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
- if (actionCase_ == 3) {
- return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_;
+ private JobNotificationEmails(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ 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;
+ 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();
+ }
}
- return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance();
- }
- /**
- *
- *
- *
- * Publish summary to Cloud Security Command Center (Alpha).
- *
- *
- * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
- */
- public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder
- getPublishSummaryToCsccOrBuilder() {
- if (actionCase_ == 3) {
- return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_;
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
}
- return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+ }
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ private byte memoizedIsInitialized = -1;
- memoizedIsInitialized = 1;
- return true;
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (actionCase_ == 1) {
- output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_);
- }
- if (actionCase_ == 2) {
- output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
- }
- if (actionCase_ == 3) {
- output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
+ memoizedIsInitialized = 1;
+ return true;
}
- unknownFields.writeTo(output);
- }
- @java.lang.Override
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ 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.privacy.dlp.v2.Action.JobNotificationEmails)) {
+ return super.equals(obj);
+ }
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails other =
+ (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj;
+
+ boolean result = true;
+ 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 = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails 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.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails 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.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails 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.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails 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.privacy.dlp.v2.Action.JobNotificationEmails 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;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on jobs's
+ * completion/failure.
+ *
+ *
+ * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
+ com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+ }
+
+ // Construct using com.google.privacy.dlp.v2.Action.JobNotificationEmails.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();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() {
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() {
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() {
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails result =
+ new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this);
+ 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.privacy.dlp.v2.Action.JobNotificationEmails) {
+ return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) {
+ if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance())
+ return this;
+ 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.privacy.dlp.v2.Action.JobNotificationEmails parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ 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.privacy.dlp.v2.Action.JobNotificationEmails)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.JobNotificationEmails)
+ private static final com.google.privacy.dlp.v2.Action.JobNotificationEmails DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.JobNotificationEmails();
+ }
+
+ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public JobNotificationEmails parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new JobNotificationEmails(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.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ private int actionCase_ = 0;
+ private java.lang.Object action_;
+
+ public enum ActionCase implements com.google.protobuf.Internal.EnumLite {
+ SAVE_FINDINGS(1),
+ PUB_SUB(2),
+ PUBLISH_SUMMARY_TO_CSCC(3),
+ JOB_NOTIFICATION_EMAILS(8),
+ ACTION_NOT_SET(0);
+ private final int value;
+
+ private ActionCase(int value) {
+ this.value = value;
+ }
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ActionCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ActionCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return SAVE_FINDINGS;
+ case 2:
+ return PUB_SUB;
+ case 3:
+ return PUBLISH_SUMMARY_TO_CSCC;
+ case 8:
+ return JOB_NOTIFICATION_EMAILS;
+ case 0:
+ return ACTION_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ActionCase getActionCase() {
+ return ActionCase.forNumber(actionCase_);
+ }
+
+ public static final int SAVE_FINDINGS_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ *
+ * Save resulting findings in a provided location.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ */
+ public boolean hasSaveFindings() {
+ return actionCase_ == 1;
+ }
+ /**
+ *
+ *
+ *
+ * Save resulting findings in a provided location.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ */
+ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
+ if (actionCase_ == 1) {
+ return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Save resulting findings in a provided location.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ */
+ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() {
+ if (actionCase_ == 1) {
+ return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance();
+ }
+
+ public static final int PUB_SUB_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ *
+ * Publish a notification to a pubsub topic.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ */
+ public boolean hasPubSub() {
+ return actionCase_ == 2;
+ }
+ /**
+ *
+ *
+ *
+ * Publish a notification to a pubsub topic.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ */
+ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
+ if (actionCase_ == 2) {
+ return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Publish a notification to a pubsub topic.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ */
+ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() {
+ if (actionCase_ == 2) {
+ return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance();
+ }
+
+ public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ *
+ * Publish summary to Cloud Security Command Center (Alpha).
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ */
+ public boolean hasPublishSummaryToCscc() {
+ return actionCase_ == 3;
+ }
+ /**
+ *
+ *
+ *
+ * Publish summary to Cloud Security Command Center (Alpha).
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ */
+ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
+ if (actionCase_ == 3) {
+ return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Publish summary to Cloud Security Command Center (Alpha).
+ *
+ *
+ * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ */
+ public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder
+ getPublishSummaryToCsccOrBuilder() {
+ if (actionCase_ == 3) {
+ return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance();
+ }
+
+ public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER = 8;
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public boolean hasJobNotificationEmails() {
+ return actionCase_ == 8;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
+ if (actionCase_ == 8) {
+ return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+ getJobNotificationEmailsOrBuilder() {
+ if (actionCase_ == 8) {
+ return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.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 (actionCase_ == 1) {
+ output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_);
+ }
+ if (actionCase_ == 2) {
+ output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
+ }
+ if (actionCase_ == 3) {
+ output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
+ }
+ if (actionCase_ == 8) {
+ output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -2098,6 +2615,11 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
}
+ if (actionCase_ == 8) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2126,6 +2648,9 @@ public boolean equals(final java.lang.Object obj) {
case 3:
result = result && getPublishSummaryToCscc().equals(other.getPublishSummaryToCscc());
break;
+ case 8:
+ result = result && getJobNotificationEmails().equals(other.getJobNotificationEmails());
+ break;
case 0:
default:
}
@@ -2153,6 +2678,10 @@ public int hashCode() {
hash = (37 * hash) + PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER;
hash = (53 * hash) + getPublishSummaryToCscc().hashCode();
break;
+ case 8:
+ hash = (37 * hash) + JOB_NOTIFICATION_EMAILS_FIELD_NUMBER;
+ hash = (53 * hash) + getJobNotificationEmails().hashCode();
+ break;
case 0:
default:
}
@@ -2350,6 +2879,13 @@ public com.google.privacy.dlp.v2.Action buildPartial() {
result.action_ = publishSummaryToCsccBuilder_.build();
}
}
+ if (actionCase_ == 8) {
+ if (jobNotificationEmailsBuilder_ == null) {
+ result.action_ = action_;
+ } else {
+ result.action_ = jobNotificationEmailsBuilder_.build();
+ }
+ }
result.actionCase_ = actionCase_;
onBuilt();
return result;
@@ -2416,6 +2952,11 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Action other) {
mergePublishSummaryToCscc(other.getPublishSummaryToCscc());
break;
}
+ case JOB_NOTIFICATION_EMAILS:
+ {
+ mergeJobNotificationEmails(other.getJobNotificationEmails());
+ break;
+ }
case ACTION_NOT_SET:
{
break;
@@ -3075,6 +3616,222 @@ public Builder clearPublishSummaryToCscc() {
return publishSummaryToCsccBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>
+ jobNotificationEmailsBuilder_;
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public boolean hasJobNotificationEmails() {
+ return actionCase_ == 8;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
+ if (jobNotificationEmailsBuilder_ == null) {
+ if (actionCase_ == 8) {
+ return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ } else {
+ if (actionCase_ == 8) {
+ return jobNotificationEmailsBuilder_.getMessage();
+ }
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public Builder setJobNotificationEmails(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+ if (jobNotificationEmailsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ action_ = value;
+ onChanged();
+ } else {
+ jobNotificationEmailsBuilder_.setMessage(value);
+ }
+ actionCase_ = 8;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public Builder setJobNotificationEmails(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder builderForValue) {
+ if (jobNotificationEmailsBuilder_ == null) {
+ action_ = builderForValue.build();
+ onChanged();
+ } else {
+ jobNotificationEmailsBuilder_.setMessage(builderForValue.build());
+ }
+ actionCase_ = 8;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public Builder mergeJobNotificationEmails(
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+ if (jobNotificationEmailsBuilder_ == null) {
+ if (actionCase_ == 8
+ && action_
+ != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) {
+ action_ =
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder(
+ (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ action_ = value;
+ }
+ onChanged();
+ } else {
+ if (actionCase_ == 8) {
+ jobNotificationEmailsBuilder_.mergeFrom(value);
+ }
+ jobNotificationEmailsBuilder_.setMessage(value);
+ }
+ actionCase_ = 8;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public Builder clearJobNotificationEmails() {
+ if (jobNotificationEmailsBuilder_ == null) {
+ if (actionCase_ == 8) {
+ actionCase_ = 0;
+ action_ = null;
+ onChanged();
+ }
+ } else {
+ if (actionCase_ == 8) {
+ actionCase_ = 0;
+ action_ = null;
+ }
+ jobNotificationEmailsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder
+ getJobNotificationEmailsBuilder() {
+ return getJobNotificationEmailsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+ getJobNotificationEmailsOrBuilder() {
+ if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) {
+ return jobNotificationEmailsBuilder_.getMessageOrBuilder();
+ } else {
+ if (actionCase_ == 8) {
+ return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+ }
+ return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>
+ getJobNotificationEmailsFieldBuilder() {
+ if (jobNotificationEmailsBuilder_ == null) {
+ if (!(actionCase_ == 8)) {
+ action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
+ }
+ jobNotificationEmailsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
+ com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>(
+ (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_,
+ getParentForChildren(),
+ isClean());
+ action_ = null;
+ }
+ actionCase_ = 8;
+ onChanged();
+ ;
+ return jobNotificationEmailsBuilder_;
+ }
+
@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-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
index ccab0090fd51..f42a5a0f941e 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
@@ -101,5 +101,40 @@ public interface ActionOrBuilder
*/
com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder();
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ boolean hasJobNotificationEmails();
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails();
+ /**
+ *
+ *
+ *
+ * Enable email notification to project owners and editors on job‘s
+ * completion/failure.
+ *
+ *
+ * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ */
+ com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+ getJobNotificationEmailsOrBuilder();
+
public com.google.privacy.dlp.v2.Action.ActionCase getActionCase();
}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java
new file mode 100644
index 000000000000..8c01e9fcf68c
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java
@@ -0,0 +1,606 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+/**
+ *
+ *
+ *
+ * Request message for ActivateJobTrigger.
+ *
+ *
+ * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest}
+ */
+public final class ActivateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest)
+ ActivateJobTriggerRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ActivateJobTriggerRequest.newBuilder() to construct.
+ private ActivateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ActivateJobTriggerRequest() {
+ name_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ActivateJobTriggerRequest(
+ 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;
+ }
+ 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.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class,
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object name_;
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * 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;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * 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;
+ }
+ }
+
+ 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_);
+ }
+ 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_);
+ }
+ 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.privacy.dlp.v2.ActivateJobTriggerRequest)) {
+ return super.equals(obj);
+ }
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest other =
+ (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj;
+
+ boolean result = true;
+ result = result && getName().equals(other.getName());
+ 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();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest 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.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest 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.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest 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.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest 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.privacy.dlp.v2.ActivateJobTriggerRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Request message for ActivateJobTrigger.
+ *
+ *
+ * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest)
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class,
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class);
+ }
+
+ // Construct using com.google.privacy.dlp.v2.ActivateJobTriggerRequest.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_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.privacy.dlp.v2.DlpProto
+ .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() {
+ return com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest build() {
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() {
+ com.google.privacy.dlp.v2.ActivateJobTriggerRequest result =
+ new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this);
+ result.name_ = name_;
+ 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.privacy.dlp.v2.ActivateJobTriggerRequest) {
+ return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.privacy.dlp.v2.ActivateJobTriggerRequest other) {
+ if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance())
+ return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ 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.privacy.dlp.v2.ActivateJobTriggerRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * 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;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * 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;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * string name = 1;
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * string name = 1;
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = 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.privacy.dlp.v2.ActivateJobTriggerRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest)
+ private static final com.google.privacy.dlp.v2.ActivateJobTriggerRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest();
+ }
+
+ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ActivateJobTriggerRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ActivateJobTriggerRequest(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.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java
new file mode 100644
index 000000000000..c4134932b0ac
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java
@@ -0,0 +1,33 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+public interface ActivateJobTriggerRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ *
+ * Resource name of the trigger to activate, for example
+ * `projects/dlp-test-project/jobTriggers/53234423`.
+ *
+ *
+ * string name = 1;
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
index 251b1bfc62d7..de9689113da9 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
@@ -152,8 +152,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* How to sample rows if not all rows are scanned. Meaningful only when used
- * in conjunction with rows_limit. If not specified, scanning would start
- * from the top.
+ * in conjunction with either rows_limit or rows_limit_percent. If not
+ * specified, scanning would start from the top.
*
*
* Protobuf enum {@code google.privacy.dlp.v2.BigQueryOptions.SampleMethod}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
index 8ad583888cd1..c5491673ed5b 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
@@ -299,8 +299,13 @@ public interface FileSetOrBuilder
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -311,8 +316,13 @@ public interface FileSetOrBuilder
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -465,8 +475,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -487,8 +502,13 @@ public java.lang.String getUrl() {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -907,8 +927,13 @@ public Builder mergeFrom(
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -929,8 +954,13 @@ public java.lang.String getUrl() {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -951,8 +981,13 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -971,8 +1006,13 @@ public Builder setUrl(java.lang.String value) {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
@@ -988,8 +1028,13 @@ public Builder clearUrl() {
*
*
* The Cloud Storage url of the file(s) to scan, in the format
- * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
- * one of `url` or `regex_file_set` must be set.
+ * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+ * If the url ends in a trailing slash, the bucket or directory represented
+ * by the url will be scanned non-recursively (content in sub-directories
+ * will not be scanned). This means that `gs://mybucket/` is equivalent to
+ * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ * `gs://mybucket/directory/*`.
+ * Exactly one of `url` or `regex_file_set` must be set.
*
*
* string url = 1;
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
index 4324f80d7328..632f83d53e7b 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
@@ -10,9 +10,10 @@
* Pseudonymization method that generates surrogates via cryptographic hashing.
* Uses SHA-256.
* The key size must be either 32 or 64 bytes.
- * Outputs a 32 byte digest as an uppercase hex string
- * (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE).
+ * Outputs a base64 encoded representation of the hashed output
+ * (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
* Currently, only string and integer values can be hashed.
+ * See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
*
*
* Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
@@ -316,9 +317,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* Pseudonymization method that generates surrogates via cryptographic hashing.
* Uses SHA-256.
* The key size must be either 32 or 64 bytes.
- * Outputs a 32 byte digest as an uppercase hex string
- * (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE).
+ * Outputs a base64 encoded representation of the hashed output
+ * (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
* Currently, only string and integer values can be hashed.
+ * See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
*
*
* Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
index 56ee117c5336..06d9c7142d55 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
@@ -2348,6 +2348,40 @@ public interface RegexOrBuilder
* string pattern = 1;
*/
com.google.protobuf.ByteString getPatternBytes();
+
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ java.util.List getGroupIndexesList();
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ int getGroupIndexesCount();
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ int getGroupIndexes(int index);
}
/**
*
@@ -2370,6 +2404,7 @@ private Regex(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Regex() {
pattern_ = "";
+ groupIndexes_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -2403,6 +2438,30 @@ private Regex(
pattern_ = s;
break;
}
+ case 16:
+ {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ groupIndexes_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ groupIndexes_.add(input.readInt32());
+ break;
+ }
+ case 18:
+ {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)
+ && input.getBytesUntilLimit() > 0) {
+ groupIndexes_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ groupIndexes_.add(input.readInt32());
+ }
+ input.popLimit(limit);
+ break;
+ }
default:
{
if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -2417,6 +2476,9 @@ private Regex(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ groupIndexes_ = java.util.Collections.unmodifiableList(groupIndexes_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -2437,6 +2499,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class);
}
+ private int bitField0_;
public static final int PATTERN_FIELD_NUMBER = 1;
private volatile java.lang.Object pattern_;
/**
@@ -2484,6 +2547,50 @@ public com.google.protobuf.ByteString getPatternBytes() {
}
}
+ public static final int GROUP_INDEXES_FIELD_NUMBER = 2;
+ private java.util.List groupIndexes_;
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public java.util.List getGroupIndexesList() {
+ return groupIndexes_;
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public int getGroupIndexesCount() {
+ return groupIndexes_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public int getGroupIndexes(int index) {
+ return groupIndexes_.get(index);
+ }
+
+ private int groupIndexesMemoizedSerializedSize = -1;
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -2498,9 +2605,17 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getSerializedSize();
if (!getPatternBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pattern_);
}
+ if (getGroupIndexesList().size() > 0) {
+ output.writeUInt32NoTag(18);
+ output.writeUInt32NoTag(groupIndexesMemoizedSerializedSize);
+ }
+ for (int i = 0; i < groupIndexes_.size(); i++) {
+ output.writeInt32NoTag(groupIndexes_.get(i));
+ }
unknownFields.writeTo(output);
}
@@ -2513,6 +2628,19 @@ public int getSerializedSize() {
if (!getPatternBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pattern_);
}
+ {
+ int dataSize = 0;
+ for (int i = 0; i < groupIndexes_.size(); i++) {
+ dataSize +=
+ com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(groupIndexes_.get(i));
+ }
+ size += dataSize;
+ if (!getGroupIndexesList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ groupIndexesMemoizedSerializedSize = dataSize;
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2531,6 +2659,7 @@ public boolean equals(final java.lang.Object obj) {
boolean result = true;
result = result && getPattern().equals(other.getPattern());
+ result = result && getGroupIndexesList().equals(other.getGroupIndexesList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -2544,6 +2673,10 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PATTERN_FIELD_NUMBER;
hash = (53 * hash) + getPattern().hashCode();
+ if (getGroupIndexesCount() > 0) {
+ hash = (37 * hash) + GROUP_INDEXES_FIELD_NUMBER;
+ hash = (53 * hash) + getGroupIndexesList().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -2693,6 +2826,8 @@ public Builder clear() {
super.clear();
pattern_ = "";
+ groupIndexes_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -2720,7 +2855,15 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex build() {
public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() {
com.google.privacy.dlp.v2.CustomInfoType.Regex result =
new com.google.privacy.dlp.v2.CustomInfoType.Regex(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
result.pattern_ = pattern_;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ groupIndexes_ = java.util.Collections.unmodifiableList(groupIndexes_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.groupIndexes_ = groupIndexes_;
+ result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2777,6 +2920,16 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Regex other) {
pattern_ = other.pattern_;
onChanged();
}
+ if (!other.groupIndexes_.isEmpty()) {
+ if (groupIndexes_.isEmpty()) {
+ groupIndexes_ = other.groupIndexes_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureGroupIndexesIsMutable();
+ groupIndexes_.addAll(other.groupIndexes_);
+ }
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -2806,6 +2959,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object pattern_ = "";
/**
*
@@ -2910,6 +3065,118 @@ public Builder setPatternBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List groupIndexes_ = java.util.Collections.emptyList();
+
+ private void ensureGroupIndexesIsMutable() {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ groupIndexes_ = new java.util.ArrayList(groupIndexes_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public java.util.List getGroupIndexesList() {
+ return java.util.Collections.unmodifiableList(groupIndexes_);
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public int getGroupIndexesCount() {
+ return groupIndexes_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public int getGroupIndexes(int index) {
+ return groupIndexes_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public Builder setGroupIndexes(int index, int value) {
+ ensureGroupIndexesIsMutable();
+ groupIndexes_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public Builder addGroupIndexes(int value) {
+ ensureGroupIndexesIsMutable();
+ groupIndexes_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public Builder addAllGroupIndexes(java.lang.Iterable extends java.lang.Integer> values) {
+ ensureGroupIndexesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupIndexes_);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The index of the submatch to extract as findings. When not
+ * specified, the entire match is returned. No more than 3 may be included.
+ *
+ *
+ * repeated int32 group_indexes = 2;
+ */
+ public Builder clearGroupIndexes() {
+ groupIndexes_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
index 7f58d356dd37..126534709ee3 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
@@ -468,6 +468,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -496,6 +500,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -778,649 +786,658 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "nfig\032\177\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022"
+ "\035\n\025total_estimated_bytes\030\002 \001(\003\022=\n\017info_t"
+ "ype_stats\030\003 \003(\0132$.google.privacy.dlp.v2."
- + "InfoTypeStats\"{\n\023InfoTypeDescription\022\014\n\004"
- + "name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014supp"
- + "orted_by\030\003 \003(\0162*.google.privacy.dlp.v2.I"
- + "nfoTypeSupportedBy\"=\n\024ListInfoTypesReque"
- + "st\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001("
- + "\t\"W\n\025ListInfoTypesResponse\022>\n\ninfo_types"
- + "\030\001 \003(\0132*.google.privacy.dlp.v2.InfoTypeD"
- + "escription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016"
- + "privacy_metric\030\001 \001(\0132$.google.privacy.dl"
- + "p.v2.PrivacyMetric\022:\n\014source_table\030\002 \001(\013"
- + "2$.google.privacy.dlp.v2.BigQueryTable\022."
- + "\n\007actions\030\003 \003(\0132\035.google.privacy.dlp.v2."
- + "Action\"\267\001\n\007QuasiId\022-\n\005field\030\001 \001(\0132\036.goog"
- + "le.privacy.dlp.v2.FieldId\0224\n\tinfo_type\030\002"
- + " \001(\0132\037.google.privacy.dlp.v2.InfoTypeH\000\022"
- + "\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132"
- + "\026.google.protobuf.EmptyH\000B\005\n\003tag\"\257\002\n\020Sta"
- + "tisticalTable\0223\n\005table\030\003 \001(\0132$.google.pr"
- + "ivacy.dlp.v2.BigQueryTable\022O\n\tquasi_ids\030"
- + "\001 \003(\0132<.google.privacy.dlp.v2.Statistica"
- + "lTable.QuasiIdentifierField\022:\n\022relative_"
- + "frequency\030\002 \001(\0132\036.google.privacy.dlp.v2."
- + "FieldId\032Y\n\024QuasiIdentifierField\022-\n\005field"
- + "\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId\022\022"
- + "\n\ncustom_tag\030\002 \001(\t\"\365\016\n\rPrivacyMetric\022[\n\026"
- + "numerical_stats_config\030\001 \001(\01329.google.pr"
- + "ivacy.dlp.v2.PrivacyMetric.NumericalStat"
- + "sConfigH\000\022_\n\030categorical_stats_config\030\002 "
- + "\001(\0132;.google.privacy.dlp.v2.PrivacyMetri"
- + "c.CategoricalStatsConfigH\000\022S\n\022k_anonymit"
- + "y_config\030\003 \001(\01325.google.privacy.dlp.v2.P"
- + "rivacyMetric.KAnonymityConfigH\000\022S\n\022l_div"
- + "ersity_config\030\004 \001(\01325.google.privacy.dlp"
- + ".v2.PrivacyMetric.LDiversityConfigH\000\022\\\n\027"
- + "k_map_estimation_config\030\005 \001(\01329.google.p"
- + "rivacy.dlp.v2.PrivacyMetric.KMapEstimati"
- + "onConfigH\000\022n\n delta_presence_estimation_"
- + "config\030\006 \001(\0132B.google.privacy.dlp.v2.Pri"
- + "vacyMetric.DeltaPresenceEstimationConfig"
- + "H\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001("
- + "\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026Cat"
- + "egoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.goo"
- + "gle.privacy.dlp.v2.FieldId\032y\n\020KAnonymity"
- + "Config\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priva"
- + "cy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.g"
- + "oogle.privacy.dlp.v2.EntityId\032\202\001\n\020LDiver"
- + "sityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.p"
- + "rivacy.dlp.v2.FieldId\022;\n\023sensitive_attri"
- + "bute\030\002 \001(\0132\036.google.privacy.dlp.v2.Field"
- + "Id\032\350\005\n\024KMapEstimationConfig\022X\n\tquasi_ids"
- + "\030\001 \003(\0132E.google.privacy.dlp.v2.PrivacyMe"
- + "tric.KMapEstimationConfig.TaggedField\022\023\n"
- + "\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables\030\003"
- + " \003(\0132H.google.privacy.dlp.v2.PrivacyMetr"
- + "ic.KMapEstimationConfig.AuxiliaryTable\032\273"
- + "\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036.google.p"
- + "rivacy.dlp.v2.FieldId\0224\n\tinfo_type\030\002 \001(\013"
- + "2\037.google.privacy.dlp.v2.InfoTypeH\000\022\024\n\nc"
- + "ustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.go"
- + "ogle.protobuf.EmptyH\000B\005\n\003tag\032\276\002\n\016Auxilia"
- + "ryTable\0223\n\005table\030\003 \001(\0132$.google.privacy."
- + "dlp.v2.BigQueryTable\022h\n\tquasi_ids\030\001 \003(\0132"
- + "U.google.privacy.dlp.v2.PrivacyMetric.KM"
- + "apEstimationConfig.AuxiliaryTable.QuasiI"
- + "dField\022:\n\022relative_frequency\030\002 \001(\0132\036.goo"
- + "gle.privacy.dlp.v2.FieldId\032Q\n\014QuasiIdFie"
- + "ld\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v"
- + "2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252\001\n\035DeltaP"
- + "resenceEstimationConfig\0221\n\tquasi_ids\030\001 \003"
- + "(\0132\036.google.privacy.dlp.v2.QuasiId\022\023\n\013re"
- + "gion_code\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003("
- + "\0132\'.google.privacy.dlp.v2.StatisticalTab"
- + "leB\006\n\004type\"\362\035\n\034AnalyzeDataSourceRiskDeta"
- + "ils\022F\n\030requested_privacy_metric\030\001 \001(\0132$."
- + "google.privacy.dlp.v2.PrivacyMetric\022D\n\026r"
- + "equested_source_table\030\002 \001(\0132$.google.pri"
- + "vacy.dlp.v2.BigQueryTable\022j\n\026numerical_s"
- + "tats_result\030\003 \001(\0132H.google.privacy.dlp.v"
- + "2.AnalyzeDataSourceRiskDetails.Numerical"
- + "StatsResultH\000\022n\n\030categorical_stats_resul"
- + "t\030\004 \001(\0132J.google.privacy.dlp.v2.AnalyzeD"
- + "ataSourceRiskDetails.CategoricalStatsRes"
- + "ultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.goog"
- + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD"
- + "etails.KAnonymityResultH\000\022b\n\022l_diversity"
- + "_result\030\006 \001(\0132D.google.privacy.dlp.v2.An"
- + "alyzeDataSourceRiskDetails.LDiversityRes"
- + "ultH\000\022k\n\027k_map_estimation_result\030\007 \001(\0132H"
- + ".google.privacy.dlp.v2.AnalyzeDataSource"
- + "RiskDetails.KMapEstimationResultH\000\022}\n de"
- + "lta_presence_estimation_result\030\t \001(\0132Q.g"
- + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi"
- + "skDetails.DeltaPresenceEstimationResultH"
- + "\000\032\257\001\n\024NumericalStatsResult\022/\n\tmin_value\030"
- + "\001 \001(\0132\034.google.privacy.dlp.v2.Value\022/\n\tm"
- + "ax_value\030\002 \001(\0132\034.google.privacy.dlp.v2.V"
- + "alue\0225\n\017quantile_values\030\004 \003(\0132\034.google.p"
- + "rivacy.dlp.v2.Value\032\215\003\n\026CategoricalStats"
- + "Result\022\225\001\n!value_frequency_histogram_buc"
- + "kets\030\005 \003(\0132j.google.privacy.dlp.v2.Analy"
- + "zeDataSourceRiskDetails.CategoricalStats"
- + "Result.CategoricalStatsHistogramBucket\032\332"
- + "\001\n\037CategoricalStatsHistogramBucket\022#\n\033va"
- + "lue_frequency_lower_bound\030\001 \001(\003\022#\n\033value"
- + "_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_s"
- + "ize\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.googl"
- + "e.privacy.dlp.v2.ValueFrequency\022\032\n\022bucke"
- + "t_value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult"
- + "\022\213\001\n#equivalence_class_histogram_buckets"
- + "\030\005 \003(\0132^.google.privacy.dlp.v2.AnalyzeDa"
- + "taSourceRiskDetails.KAnonymityResult.KAn"
- + "onymityHistogramBucket\032t\n\032KAnonymityEqui"
- + "valenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034"
- + ".google.privacy.dlp.v2.Value\022\036\n\026equivale"
- + "nce_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHisto"
- + "gramBucket\022*\n\"equivalence_class_size_low"
- + "er_bound\030\001 \001(\003\022*\n\"equivalence_class_size"
- + "_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022"
- + "v\n\rbucket_values\030\004 \003(\0132_.google.privacy."
- + "dlp.v2.AnalyzeDataSourceRiskDetails.KAno"
- + "nymityResult.KAnonymityEquivalenceClass\022"
- + "\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversi"
- + "tyResult\022\223\001\n+sensitive_value_frequency_h"
- + "istogram_buckets\030\005 \003(\0132^.google.privacy."
- + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv"
- + "ersityResult.LDiversityHistogramBucket\032\340"
- + "\001\n\032LDiversityEquivalenceClass\0226\n\020quasi_i"
- + "ds_values\030\001 \003(\0132\034.google.privacy.dlp.v2."
- + "Value\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n"
- + "\035num_distinct_sensitive_values\030\003 \001(\003\022C\n\024"
- + "top_sensitive_values\030\004 \003(\0132%.google.priv"
- + "acy.dlp.v2.ValueFrequency\032\242\002\n\031LDiversity"
- + "HistogramBucket\022-\n%sensitive_value_frequ"
- + "ency_lower_bound\030\001 \001(\003\022-\n%sensitive_valu"
- + "e_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_"
- + "size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.goog"
- + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD"
- + "etails.LDiversityResult.LDiversityEquiva"
- + "lenceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225"
- + "\004\n\024KMapEstimationResult\022\212\001\n\032k_map_estima"
- + "tion_histogram\030\001 \003(\0132f.google.privacy.dl"
+ + "InfoTypeStats\"\220\001\n\023InfoTypeDescription\022\014\n"
+ + "\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014sup"
+ + "ported_by\030\003 \003(\0162*.google.privacy.dlp.v2."
+ + "InfoTypeSupportedBy\022\023\n\013description\030\004 \001(\t"
+ + "\"=\n\024ListInfoTypesRequest\022\025\n\rlanguage_cod"
+ + "e\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\"W\n\025ListInfoTypes"
+ + "Response\022>\n\ninfo_types\030\001 \003(\0132*.google.pr"
+ + "ivacy.dlp.v2.InfoTypeDescription\"\301\001\n\025Ris"
+ + "kAnalysisJobConfig\022<\n\016privacy_metric\030\001 \001"
+ + "(\0132$.google.privacy.dlp.v2.PrivacyMetric"
+ + "\022:\n\014source_table\030\002 \001(\0132$.google.privacy."
+ + "dlp.v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035."
+ + "google.privacy.dlp.v2.Action\"\267\001\n\007QuasiId"
+ + "\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2."
+ + "FieldId\0224\n\tinfo_type\030\002 \001(\0132\037.google.priv"
+ + "acy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001("
+ + "\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobuf."
+ + "EmptyH\000B\005\n\003tag\"\257\002\n\020StatisticalTable\0223\n\005t"
+ + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu"
+ + "eryTable\022O\n\tquasi_ids\030\001 \003(\0132<.google.pri"
+ + "vacy.dlp.v2.StatisticalTable.QuasiIdenti"
+ + "fierField\022:\n\022relative_frequency\030\002 \001(\0132\036."
+ + "google.privacy.dlp.v2.FieldId\032Y\n\024QuasiId"
+ + "entifierField\022-\n\005field\030\001 \001(\0132\036.google.pr"
+ + "ivacy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t"
+ + "\"\365\016\n\rPrivacyMetric\022[\n\026numerical_stats_co"
+ + "nfig\030\001 \001(\01329.google.privacy.dlp.v2.Priva"
+ + "cyMetric.NumericalStatsConfigH\000\022_\n\030categ"
+ + "orical_stats_config\030\002 \001(\0132;.google.priva"
+ + "cy.dlp.v2.PrivacyMetric.CategoricalStats"
+ + "ConfigH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.g"
+ + "oogle.privacy.dlp.v2.PrivacyMetric.KAnon"
+ + "ymityConfigH\000\022S\n\022l_diversity_config\030\004 \001("
+ + "\01325.google.privacy.dlp.v2.PrivacyMetric."
+ + "LDiversityConfigH\000\022\\\n\027k_map_estimation_c"
+ + "onfig\030\005 \001(\01329.google.privacy.dlp.v2.Priv"
+ + "acyMetric.KMapEstimationConfigH\000\022n\n delt"
+ + "a_presence_estimation_config\030\006 \001(\0132B.goo"
+ + "gle.privacy.dlp.v2.PrivacyMetric.DeltaPr"
+ + "esenceEstimationConfigH\000\032E\n\024NumericalSta"
+ + "tsConfig\022-\n\005field\030\001 \001(\0132\036.google.privacy"
+ + ".dlp.v2.FieldId\032G\n\026CategoricalStatsConfi"
+ + "g\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2"
+ + ".FieldId\032y\n\020KAnonymityConfig\0221\n\tquasi_id"
+ + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022"
+ + "2\n\tentity_id\030\002 \001(\0132\037.google.privacy.dlp."
+ + "v2.EntityId\032\202\001\n\020LDiversityConfig\0221\n\tquas"
+ + "i_ids\030\001 \003(\0132\036.google.privacy.dlp.v2.Fiel"
+ + "dId\022;\n\023sensitive_attribute\030\002 \001(\0132\036.googl"
+ + "e.privacy.dlp.v2.FieldId\032\350\005\n\024KMapEstimat"
+ + "ionConfig\022X\n\tquasi_ids\030\001 \003(\0132E.google.pr"
+ + "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio"
+ + "nConfig.TaggedField\022\023\n\013region_code\030\002 \001(\t"
+ + "\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.priv"
+ + "acy.dlp.v2.PrivacyMetric.KMapEstimationC"
+ + "onfig.AuxiliaryTable\032\273\001\n\013TaggedField\022-\n\005"
+ + "field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel"
+ + "dId\0224\n\tinfo_type\030\002 \001(\0132\037.google.privacy."
+ + "dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022"
+ + "*\n\010inferred\030\004 \001(\0132\026.google.protobuf.Empt"
+ + "yH\000B\005\n\003tag\032\276\002\n\016AuxiliaryTable\0223\n\005table\030\003"
+ + " \001(\0132$.google.privacy.dlp.v2.BigQueryTab"
+ + "le\022h\n\tquasi_ids\030\001 \003(\0132U.google.privacy.d"
+ + "lp.v2.PrivacyMetric.KMapEstimationConfig"
+ + ".AuxiliaryTable.QuasiIdField\022:\n\022relative"
+ + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2"
+ + ".FieldId\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132"
+ + "\036.google.privacy.dlp.v2.FieldId\022\022\n\ncusto"
+ + "m_tag\030\002 \001(\t\032\252\001\n\035DeltaPresenceEstimationC"
+ + "onfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privac"
+ + "y.dlp.v2.QuasiId\022\023\n\013region_code\030\002 \001(\t\022A\n"
+ + "\020auxiliary_tables\030\003 \003(\0132\'.google.privacy"
+ + ".dlp.v2.StatisticalTableB\006\n\004type\"\362\035\n\034Ana"
+ + "lyzeDataSourceRiskDetails\022F\n\030requested_p"
+ + "rivacy_metric\030\001 \001(\0132$.google.privacy.dlp"
+ + ".v2.PrivacyMetric\022D\n\026requested_source_ta"
+ + "ble\030\002 \001(\0132$.google.privacy.dlp.v2.BigQue"
+ + "ryTable\022j\n\026numerical_stats_result\030\003 \001(\0132"
+ + "H.google.privacy.dlp.v2.AnalyzeDataSourc"
+ + "eRiskDetails.NumericalStatsResultH\000\022n\n\030c"
+ + "ategorical_stats_result\030\004 \001(\0132J.google.p"
+ + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai"
+ + "ls.CategoricalStatsResultH\000\022b\n\022k_anonymi"
+ + "ty_result\030\005 \001(\0132D.google.privacy.dlp.v2."
+ + "AnalyzeDataSourceRiskDetails.KAnonymityR"
+ + "esultH\000\022b\n\022l_diversity_result\030\006 \001(\0132D.go"
+ + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis"
+ + "kDetails.LDiversityResultH\000\022k\n\027k_map_est"
+ + "imation_result\030\007 \001(\0132H.google.privacy.dl"
+ "p.v2.AnalyzeDataSourceRiskDetails.KMapEs"
- + "timationResult.KMapEstimationHistogramBu"
- + "cket\032r\n\033KMapEstimationQuasiIdValues\0226\n\020q"
- + "uasi_ids_values\030\001 \003(\0132\034.google.privacy.d"
- + "lp.v2.Value\022\033\n\023estimated_anonymity\030\002 \001(\003"
- + "\032\373\001\n\035KMapEstimationHistogramBucket\022\025\n\rmi"
- + "n_anonymity\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(\003"
- + "\022\023\n\013bucket_size\030\005 \001(\003\022{\n\rbucket_values\030\006"
- + " \003(\0132d.google.privacy.dlp.v2.AnalyzeData"
- + "SourceRiskDetails.KMapEstimationResult.K"
- + "MapEstimationQuasiIdValues\022\032\n\022bucket_val"
- + "ue_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimati"
- + "onResult\022\245\001\n#delta_presence_estimation_h"
- + "istogram\030\001 \003(\0132x.google.privacy.dlp.v2.A"
- + "nalyzeDataSourceRiskDetails.DeltaPresenc"
- + "eEstimationResult.DeltaPresenceEstimatio"
- + "nHistogramBucket\032}\n$DeltaPresenceEstimat"
- + "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003"
- + "(\0132\034.google.privacy.dlp.v2.Value\022\035\n\025esti"
- + "mated_probability\030\002 \001(\001\032\233\002\n&DeltaPresenc"
- + "eEstimationHistogramBucket\022\027\n\017min_probab"
- + "ility\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013"
- + "bucket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003("
- + "\0132v.google.privacy.dlp.v2.AnalyzeDataSou"
- + "rceRiskDetails.DeltaPresenceEstimationRe"
- + "sult.DeltaPresenceEstimationQuasiIdValue"
- + "s\022\032\n\022bucket_value_count\030\007 \001(\003B\010\n\006result\""
- + "L\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.googl"
- + "e.privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002"
- + "\n\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013floa"
- + "t_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022"
- + "\027\n\rboolean_value\030\004 \001(\010H\000\0225\n\017timestamp_va"
- + "lue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022"
- + ",\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOf"
- + "DayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type."
- + "DateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.goog"
- + "le.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo"
- + "\0224\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp"
- + ".v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateT"
- + "ime\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013"
- + "day_of_week\030\002 \001(\0162\026.google.type.DayOfWee"
- + "k\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay\022"
- + ";\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp."
- + "v2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offs"
- + "et_minutes\030\001 \001(\005\"\311\001\n\020DeidentifyConfig\022S\n"
- + "\031info_type_transformations\030\001 \001(\0132..googl"
- + "e.privacy.dlp.v2.InfoTypeTransformations"
- + "H\000\022N\n\026record_transformations\030\002 \001(\0132,.goo"
- + "gle.privacy.dlp.v2.RecordTransformations"
- + "H\000B\020\n\016transformation\"\234\006\n\027PrimitiveTransf"
- + "ormation\022C\n\016replace_config\030\001 \001(\0132).googl"
- + "e.privacy.dlp.v2.ReplaceValueConfigH\000\022<\n"
- + "\rredact_config\030\002 \001(\0132#.google.privacy.dl"
- + "p.v2.RedactConfigH\000\022K\n\025character_mask_co"
- + "nfig\030\003 \001(\0132*.google.privacy.dlp.v2.Chara"
- + "cterMaskConfigH\000\022Y\n\035crypto_replace_ffx_f"
- + "pe_config\030\004 \001(\01320.google.privacy.dlp.v2."
- + "CryptoReplaceFfxFpeConfigH\000\022V\n\033fixed_siz"
- + "e_bucketing_config\030\005 \001(\0132/.google.privac"
- + "y.dlp.v2.FixedSizeBucketingConfigH\000\022B\n\020b"
- + "ucketing_config\030\006 \001(\0132&.google.privacy.d"
- + "lp.v2.BucketingConfigH\000\022Y\n\035replace_with_"
- + "info_type_config\030\007 \001(\01320.google.privacy."
- + "dlp.v2.ReplaceWithInfoTypeConfigH\000\022A\n\020ti"
- + "me_part_config\030\010 \001(\0132%.google.privacy.dl"
- + "p.v2.TimePartConfigH\000\022E\n\022crypto_hash_con"
- + "fig\030\t \001(\0132\'.google.privacy.dlp.v2.Crypto"
- + "HashConfigH\000\022C\n\021date_shift_config\030\013 \001(\0132"
- + "&.google.privacy.dlp.v2.DateShiftConfigH"
- + "\000B\020\n\016transformation\"\334\001\n\016TimePartConfig\022G"
- + "\n\017part_to_extract\030\001 \001(\0162..google.privacy"
- + ".dlp.v2.TimePartConfig.TimePart\"\200\001\n\010Time"
- + "Part\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022\010\n\004YEAR\020"
- + "\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017\n\013DAY_OF"
- + "_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOUR_OF_DAY"
- + "\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030\001 \001"
- + "(\0132 .google.privacy.dlp.v2.CryptoKey\"E\n\022"
- + "ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\0132\034."
- + "google.privacy.dlp.v2.Value\"\033\n\031ReplaceWi"
- + "thInfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rCha"
- + "rsToIgnore\022\034\n\022characters_to_skip\030\001 \001(\tH\000"
- + "\022_\n\033common_characters_to_ignore\030\002 \001(\01628."
- + "google.privacy.dlp.v2.CharsToIgnore.Comm"
- + "onCharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnor"
- + "e\022&\n\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\020"
- + "\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020"
- + "ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nW"
- + "HITESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterM"
- + "askConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016"
- + "number_to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 "
- + "\001(\010\022B\n\024characters_to_ignore\030\004 \003(\0132$.goog"
- + "le.privacy.dlp.v2.CharsToIgnore\"\225\001\n\030Fixe"
- + "dSizeBucketingConfig\0221\n\013lower_bound\030\001 \001("
- + "\0132\034.google.privacy.dlp.v2.Value\0221\n\013upper"
- + "_bound\030\002 \001(\0132\034.google.privacy.dlp.v2.Val"
- + "ue\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n\017BucketingCon"
- + "fig\022>\n\007buckets\030\001 \003(\0132-.google.privacy.dl"
- + "p.v2.BucketingConfig.Bucket\032\227\001\n\006Bucket\022)"
- + "\n\003min\030\001 \001(\0132\034.google.privacy.dlp.v2.Valu"
- + "e\022)\n\003max\030\002 \001(\0132\034.google.privacy.dlp.v2.V"
- + "alue\0227\n\021replacement_value\030\003 \001(\0132\034.google"
- + ".privacy.dlp.v2.Value\"\364\003\n\031CryptoReplaceF",
- "fxFpeConfig\0224\n\ncrypto_key\030\001 \001(\0132 .google"
- + ".privacy.dlp.v2.CryptoKey\022/\n\007context\030\002 \001"
- + "(\0132\036.google.privacy.dlp.v2.FieldId\022c\n\017co"
- + "mmon_alphabet\030\004 \001(\0162H.google.privacy.dlp"
- + ".v2.CryptoReplaceFfxFpeConfig.FfxCommonN"
- + "ativeAlphabetH\000\022\031\n\017custom_alphabet\030\005 \001(\t"
- + "H\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_info_ty"
- + "pe\030\010 \001(\0132\037.google.privacy.dlp.v2.InfoTyp"
- + "e\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FFX_COM"
- + "MON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUM"
- + "ERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_AL"
- + "PHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alph"
- + "abet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001(\0132)."
- + "google.privacy.dlp.v2.TransientCryptoKey"
- + "H\000\022>\n\tunwrapped\030\002 \001(\0132).google.privacy.d"
- + "lp.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_wrappe"
- + "d\030\003 \001(\0132*.google.privacy.dlp.v2.KmsWrapp"
- + "edCryptoKeyH\000B\010\n\006source\"\"\n\022TransientCryp"
- + "toKey\022\014\n\004name\030\001 \001(\t\"!\n\022UnwrappedCryptoKe"
- + "y\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappedCryptoKey\022\023\n"
- + "\013wrapped_key\030\001 \001(\014\022\027\n\017crypto_key_name\030\002 "
- + "\001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020upper_bound_d"
- + "ays\030\001 \001(\005\022\030\n\020lower_bound_days\030\002 \001(\005\022/\n\007c"
- + "ontext\030\003 \001(\0132\036.google.privacy.dlp.v2.Fie"
- + "ldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.privac"
- + "y.dlp.v2.CryptoKeyH\000B\010\n\006method\"\233\002\n\027InfoT"
- + "ypeTransformations\022^\n\017transformations\030\001 "
- + "\003(\0132E.google.privacy.dlp.v2.InfoTypeTran"
- + "sformations.InfoTypeTransformation\032\237\001\n\026I"
- + "nfoTypeTransformation\0223\n\ninfo_types\030\001 \003("
- + "\0132\037.google.privacy.dlp.v2.InfoType\022P\n\030pr"
- + "imitive_transformation\030\002 \001(\0132..google.pr"
- + "ivacy.dlp.v2.PrimitiveTransformation\"\273\002\n"
- + "\023FieldTransformation\022.\n\006fields\030\001 \003(\0132\036.g"
- + "oogle.privacy.dlp.v2.FieldId\0229\n\tconditio"
- + "n\030\003 \001(\0132&.google.privacy.dlp.v2.RecordCo"
- + "ndition\022R\n\030primitive_transformation\030\004 \001("
- + "\0132..google.privacy.dlp.v2.PrimitiveTrans"
- + "formationH\000\022S\n\031info_type_transformations"
- + "\030\005 \001(\0132..google.privacy.dlp.v2.InfoTypeT"
- + "ransformationsH\000B\020\n\016transformation\"\251\001\n\025R"
- + "ecordTransformations\022I\n\025field_transforma"
- + "tions\030\001 \003(\0132*.google.privacy.dlp.v2.Fiel"
- + "dTransformation\022E\n\023record_suppressions\030\002"
- + " \003(\0132(.google.privacy.dlp.v2.RecordSuppr"
- + "ession\"N\n\021RecordSuppression\0229\n\tcondition"
- + "\030\001 \001(\0132&.google.privacy.dlp.v2.RecordCon"
- + "dition\"\322\004\n\017RecordCondition\022G\n\013expression"
- + "s\030\003 \001(\01322.google.privacy.dlp.v2.RecordCo"
- + "ndition.Expressions\032\244\001\n\tCondition\022-\n\005fie"
- + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId"
- + "\022;\n\010operator\030\003 \001(\0162).google.privacy.dlp."
- + "v2.RelationalOperator\022+\n\005value\030\004 \001(\0132\034.g"
- + "oogle.privacy.dlp.v2.Value\032R\n\nConditions"
- + "\022D\n\nconditions\030\001 \003(\01320.google.privacy.dl"
- + "p.v2.RecordCondition.Condition\032\372\001\n\013Expre"
- + "ssions\022\\\n\020logical_operator\030\001 \001(\0162B.googl"
- + "e.privacy.dlp.v2.RecordCondition.Express"
- + "ions.LogicalOperator\022G\n\nconditions\030\003 \001(\013"
- + "21.google.privacy.dlp.v2.RecordCondition"
- + ".ConditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGI"
- + "CAL_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004t"
- + "ype\"\203\001\n\026TransformationOverview\022\031\n\021transf"
- + "ormed_bytes\030\002 \001(\003\022N\n\030transformation_summ"
- + "aries\030\003 \003(\0132,.google.privacy.dlp.v2.Tran"
- + "sformationSummary\"\237\005\n\025TransformationSumm"
- + "ary\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy."
- + "dlp.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google."
- + "privacy.dlp.v2.FieldId\022F\n\016transformation"
- + "\030\003 \001(\0132..google.privacy.dlp.v2.Primitive"
- + "Transformation\022I\n\025field_transformations\030"
- + "\005 \003(\0132*.google.privacy.dlp.v2.FieldTrans"
- + "formation\022A\n\017record_suppress\030\006 \001(\0132(.goo"
- + "gle.privacy.dlp.v2.RecordSuppression\022K\n\007"
- + "results\030\004 \003(\0132:.google.privacy.dlp.v2.Tr"
- + "ansformationSummary.SummaryResult\022\031\n\021tra"
- + "nsformed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r"
- + "\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.pri"
- + "vacy.dlp.v2.TransformationSummary.Transf"
- + "ormationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030T"
- + "ransformationResultCode\022*\n&TRANSFORMATIO"
- + "N_RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001"
- + "\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_pe"
- + "riod_duration\030\001 \001(\0132\031.google.protobuf.Du"
- + "rationH\000B\010\n\006option\"\352\001\n\017InspectTemplate\022\014"
- + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013de"
- + "scription\030\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.g"
- + "oogle.protobuf.Timestamp\022/\n\013update_time\030"
- + "\005 \001(\0132\032.google.protobuf.Timestamp\022<\n\016ins"
- + "pect_config\030\006 \001(\0132$.google.privacy.dlp.v"
- + "2.InspectConfig\"\363\001\n\022DeidentifyTemplate\022\014"
- + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013de"
- + "scription\030\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.g"
- + "oogle.protobuf.Timestamp\022/\n\013update_time\030"
- + "\005 \001(\0132\032.google.protobuf.Timestamp\022B\n\021dei"
- + "dentify_config\030\006 \001(\0132\'.google.privacy.dl"
- + "p.v2.DeidentifyConfig\"\\\n\005Error\022#\n\007detail"
- + "s\030\001 \001(\0132\022.google.rpc.Status\022.\n\ntimestamp"
- + "s\030\002 \003(\0132\032.google.protobuf.Timestamp\"\333\004\n\n"
- + "JobTrigger\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name"
- + "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022>\n\013inspect_j"
- + "ob\030\004 \001(\0132\'.google.privacy.dlp.v2.Inspect"
- + "JobConfigH\000\022;\n\010triggers\030\005 \003(\0132).google.p"
- + "rivacy.dlp.v2.JobTrigger.Trigger\022,\n\006erro"
- + "rs\030\006 \003(\0132\034.google.privacy.dlp.v2.Error\022/"
- + "\n\013create_time\030\007 \001(\0132\032.google.protobuf.Ti"
- + "mestamp\022/\n\013update_time\030\010 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\0221\n\rlast_run_time\030\t \001(\0132"
- + "\032.google.protobuf.Timestamp\0228\n\006status\030\n "
- + "\001(\0162(.google.privacy.dlp.v2.JobTrigger.S"
- + "tatus\032I\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037.goo"
- + "gle.privacy.dlp.v2.ScheduleH\000B\t\n\007trigger"
- + "\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HE"
- + "ALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003B\005\n\003jo"
- + "b\"\375\002\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*.go"
- + "ogle.privacy.dlp.v2.Action.SaveFindingsH"
- + "\000\022@\n\007pub_sub\030\002 \001(\0132-.google.privacy.dlp."
- + "v2.Action.PublishToPubSubH\000\022U\n\027publish_s"
- + "ummary_to_cscc\030\003 \001(\01322.google.privacy.dl"
- + "p.v2.Action.PublishSummaryToCsccH\000\032Q\n\014Sa"
- + "veFindings\022A\n\routput_config\030\001 \001(\0132*.goog"
- + "le.privacy.dlp.v2.OutputStorageConfig\032 \n"
- + "\017PublishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024Publi"
- + "shSummaryToCsccB\010\n\006action\"\205\001\n\034CreateInsp"
- + "ectTemplateRequest\022\016\n\006parent\030\001 \001(\t\022@\n\020in"
- + "spect_template\030\002 \001(\0132&.google.privacy.dl"
- + "p.v2.InspectTemplate\022\023\n\013template_id\030\003 \001("
- + "\t\"\237\001\n\034UpdateInspectTemplateRequest\022\014\n\004na"
- + "me\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\0132&.goo"
- + "gle.privacy.dlp.v2.InspectTemplate\022/\n\013up"
- + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM"
- + "ask\")\n\031GetInspectTemplateRequest\022\014\n\004name"
- + "\030\001 \001(\t\"f\n\033ListInspectTemplatesRequest\022\016\n"
- + "\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpag"
- + "e_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"z\n\034ListIn"
- + "spectTemplatesResponse\022A\n\021inspect_templa"
- + "tes\030\001 \003(\0132&.google.privacy.dlp.v2.Inspec"
- + "tTemplate\022\027\n\017next_page_token\030\002 \001(\t\",\n\034De"
- + "leteInspectTemplateRequest\022\014\n\004name\030\001 \001(\t"
- + "\"u\n\027CreateJobTriggerRequest\022\016\n\006parent\030\001 "
- + "\001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google.privac"
- + "y.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 \001(\t\""
- + "\220\001\n\027UpdateJobTriggerRequest\022\014\n\004name\030\001 \001("
- + "\t\0226\n\013job_trigger\030\002 \001(\0132!.google.privacy."
- + "dlp.v2.JobTrigger\022/\n\013update_mask\030\003 \001(\0132\032"
- + ".google.protobuf.FieldMask\"$\n\024GetJobTrig"
- + "gerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023CreateDlpJo"
- + "bRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013inspect_job\030"
- + "\002 \001(\0132\'.google.privacy.dlp.v2.InspectJob"
- + "ConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.priv"
- + "acy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006jo"
- + "b_id\030\004 \001(\tB\005\n\003job\"a\n\026ListJobTriggersRequ"
- + "est\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022"
- + "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"k\n\027"
- + "ListJobTriggersResponse\0227\n\014job_triggers\030"
- + "\001 \003(\0132!.google.privacy.dlp.v2.JobTrigger"
- + "\022\027\n\017next_page_token\030\002 \001(\t\"\'\n\027DeleteJobTr"
- + "iggerRequest\022\014\n\004name\030\001 \001(\t\"\335\001\n\020InspectJo"
- + "bConfig\022<\n\016storage_config\030\001 \001(\0132$.google"
- + ".privacy.dlp.v2.StorageConfig\022<\n\016inspect"
- + "_config\030\002 \001(\0132$.google.privacy.dlp.v2.In"
- + "spectConfig\022\035\n\025inspect_template_name\030\003 \001"
- + "(\t\022.\n\007actions\030\004 \003(\0132\035.google.privacy.dlp"
- + ".v2.Action\"\336\004\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004t"
- + "ype\030\002 \001(\0162!.google.privacy.dlp.v2.DlpJob"
- + "Type\0225\n\005state\030\003 \001(\0162&.google.privacy.dlp"
- + ".v2.DlpJob.JobState\022K\n\014risk_details\030\004 \001("
- + "\01323.google.privacy.dlp.v2.AnalyzeDataSou"
- + "rceRiskDetailsH\000\022J\n\017inspect_details\030\005 \001("
- + "\0132/.google.privacy.dlp.v2.InspectDataSou"
- + "rceDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.goog"
- + "le.protobuf.Timestamp\022.\n\nstart_time\030\007 \001("
- + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim"
- + "e\030\010 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020j"
- + "ob_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034."
- + "google.privacy.dlp.v2.Error\"c\n\010JobState\022"
- + "\031\n\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022"
- + "\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006"
- + "FAILED\020\005B\t\n\007details\" \n\020GetDlpJobRequest\022"
- + "\014\n\004name\030\001 \001(\t\"\236\001\n\022ListDlpJobsRequest\022\016\n\006"
- + "parent\030\004 \001(\t\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_siz"
- + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030\005 \001("
- + "\0162!.google.privacy.dlp.v2.DlpJobType\022\020\n\010"
- + "order_by\030\006 \001(\t\"[\n\023ListDlpJobsResponse\022+\n"
- + "\004jobs\030\001 \003(\0132\035.google.privacy.dlp.v2.DlpJ"
- + "ob\022\027\n\017next_page_token\030\002 \001(\t\"#\n\023CancelDlp"
- + "JobRequest\022\014\n\004name\030\001 \001(\t\"#\n\023DeleteDlpJob"
- + "Request\022\014\n\004name\030\001 \001(\t\"\216\001\n\037CreateDeidenti"
- + "fyTemplateRequest\022\016\n\006parent\030\001 \001(\t\022F\n\023dei"
- + "dentify_template\030\002 \001(\0132).google.privacy."
- + "dlp.v2.DeidentifyTemplate\022\023\n\013template_id"
- + "\030\003 \001(\t\"\250\001\n\037UpdateDeidentifyTemplateReque"
- + "st\022\014\n\004name\030\001 \001(\t\022F\n\023deidentify_template\030"
- + "\002 \001(\0132).google.privacy.dlp.v2.Deidentify"
- + "Template\022/\n\013update_mask\030\003 \001(\0132\032.google.p"
- + "rotobuf.FieldMask\",\n\034GetDeidentifyTempla"
- + "teRequest\022\014\n\004name\030\001 \001(\t\"i\n\036ListDeidentif"
- + "yTemplatesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npag"
- + "e_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010orde"
- + "r_by\030\004 \001(\t\"\203\001\n\037ListDeidentifyTemplatesRe"
- + "sponse\022G\n\024deidentify_templates\030\001 \003(\0132).g"
- + "oogle.privacy.dlp.v2.DeidentifyTemplate\022"
- + "\027\n\017next_page_token\030\002 \001(\t\"/\n\037DeleteDeiden"
- + "tifyTemplateRequest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033La"
- + "rgeCustomDictionaryConfig\022<\n\013output_path"
- + "\030\001 \001(\0132\'.google.privacy.dlp.v2.CloudStor"
- + "agePath\022L\n\026cloud_storage_file_set\030\002 \001(\0132"
- + "*.google.privacy.dlp.v2.CloudStorageFile"
- + "SetH\000\022?\n\017big_query_field\030\003 \001(\0132$.google."
- + "privacy.dlp.v2.BigQueryFieldH\000B\010\n\006source"
- + "\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014display_nam"
- + "e\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_cu"
- + "stom_dictionary\030\003 \001(\01322.google.privacy.d"
- + "lp.v2.LargeCustomDictionaryConfigH\000B\006\n\004t"
- + "ype\"\356\001\n\025StoredInfoTypeVersion\022;\n\006config\030"
- + "\001 \001(\0132+.google.privacy.dlp.v2.StoredInfo"
- + "TypeConfig\022/\n\013create_time\030\002 \001(\0132\032.google"
- + ".protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.goo"
- + "gle.privacy.dlp.v2.StoredInfoTypeState\022,"
- + "\n\006errors\030\004 \003(\0132\034.google.privacy.dlp.v2.E"
- + "rror\"\255\001\n\016StoredInfoType\022\014\n\004name\030\001 \001(\t\022E\n"
- + "\017current_version\030\002 \001(\0132,.google.privacy."
- + "dlp.v2.StoredInfoTypeVersion\022F\n\020pending_"
- + "versions\030\003 \003(\0132,.google.privacy.dlp.v2.S"
- + "toredInfoTypeVersion\"\207\001\n\033CreateStoredInf"
- + "oTypeRequest\022\016\n\006parent\030\001 \001(\t\022;\n\006config\030\002"
- + " \001(\0132+.google.privacy.dlp.v2.StoredInfoT"
- + "ypeConfig\022\033\n\023stored_info_type_id\030\003 \001(\t\"\231"
- + "\001\n\033UpdateStoredInfoTypeRequest\022\014\n\004name\030\001"
- + " \001(\t\022;\n\006config\030\002 \001(\0132+.google.privacy.dl"
- + "p.v2.StoredInfoTypeConfig\022/\n\013update_mask"
- + "\030\003 \001(\0132\032.google.protobuf.FieldMask\"(\n\030Ge"
- + "tStoredInfoTypeRequest\022\014\n\004name\030\001 \001(\t\"e\n\032"
- + "ListStoredInfoTypesRequest\022\016\n\006parent\030\001 \001"
- + "(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001("
- + "\005\022\020\n\010order_by\030\004 \001(\t\"x\n\033ListStoredInfoTyp"
- + "esResponse\022@\n\021stored_info_types\030\001 \003(\0132%."
- + "google.privacy.dlp.v2.StoredInfoType\022\027\n\017"
- + "next_page_token\030\002 \001(\t\"+\n\033DeleteStoredInf"
- + "oTypeRequest\022\014\n\004name\030\001 \001(\t*M\n\rContentOpt"
- + "ion\022\027\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_"
- + "TEXT\020\001\022\021\n\rCONTENT_IMAGE\020\002*\215\001\n\014MatchingTy"
- + "pe\022\035\n\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MAT"
- + "CHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE"
- + "_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERS"
- + "E_MATCH\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM"
- + "_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK"
- + "_ANALYSIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RE"
- + "LATIONAL_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL"
- + "_TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020"
- + "\003\022\r\n\tLESS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUA"
- + "LS\020\005\022\027\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020"
- + "\007*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECIF"
- + "IED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS_"
- + "JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"STORED_I"
- + "NFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020"
- + "\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\251+"
- + "\n\nDlpService\022\241\001\n\016InspectContent\022,.google"
- + ".privacy.dlp.v2.InspectContentRequest\032-."
- + "google.privacy.dlp.v2.InspectContentResp"
- + "onse\"2\202\323\344\223\002,\"\'/v2/{parent=projects/*}/co"
- + "ntent:inspect:\001*\022\225\001\n\013RedactImage\022).googl"
- + "e.privacy.dlp.v2.RedactImageRequest\032*.go"
- + "ogle.privacy.dlp.v2.RedactImageResponse\""
- + "/\202\323\344\223\002)\"$/v2/{parent=projects/*}/image:r"
- + "edact:\001*\022\255\001\n\021DeidentifyContent\022/.google."
- + "privacy.dlp.v2.DeidentifyContentRequest\032"
- + "0.google.privacy.dlp.v2.DeidentifyConten"
- + "tResponse\"5\202\323\344\223\002/\"*/v2/{parent=projects/"
- + "*}/content:deidentify:\001*\022\255\001\n\021ReidentifyC"
- + "ontent\022/.google.privacy.dlp.v2.Reidentif"
- + "yContentRequest\0320.google.privacy.dlp.v2."
- + "ReidentifyContentResponse\"5\202\323\344\223\002/\"*/v2/{"
- + "parent=projects/*}/content:reidentify:\001*"
- + "\022\201\001\n\rListInfoTypes\022+.google.privacy.dlp."
- + "v2.ListInfoTypesRequest\032,.google.privacy"
- + ".dlp.v2.ListInfoTypesResponse\"\025\202\323\344\223\002\017\022\r/"
- + "v2/infoTypes\022\335\001\n\025CreateInspectTemplate\0223"
- + ".google.privacy.dlp.v2.CreateInspectTemp"
- + "lateRequest\032&.google.privacy.dlp.v2.Insp"
- + "ectTemplate\"g\202\323\344\223\002a\"-/v2/{parent=organiz"
- + "ations/*}/inspectTemplates:\001*Z-\"(/v2/{pa"
- + "rent=projects/*}/inspectTemplates:\001*\022\335\001\n"
- + "\025UpdateInspectTemplate\0223.google.privacy."
- + "dlp.v2.UpdateInspectTemplateRequest\032&.go"
- + "ogle.privacy.dlp.v2.InspectTemplate\"g\202\323\344"
- + "\223\002a2-/v2/{name=organizations/*/inspectTe"
- + "mplates/*}:\001*Z-2(/v2/{name=projects/*/in"
- + "spectTemplates/*}:\001*\022\321\001\n\022GetInspectTempl"
- + "ate\0220.google.privacy.dlp.v2.GetInspectTe"
- + "mplateRequest\032&.google.privacy.dlp.v2.In"
- + "spectTemplate\"a\202\323\344\223\002[\022-/v2/{name=organiz"
- + "ations/*/inspectTemplates/*}Z*\022(/v2/{nam"
- + "e=projects/*/inspectTemplates/*}\022\342\001\n\024Lis"
- + "tInspectTemplates\0222.google.privacy.dlp.v"
- + "2.ListInspectTemplatesRequest\0323.google.p"
- + "rivacy.dlp.v2.ListInspectTemplatesRespon"
- + "se\"a\202\323\344\223\002[\022-/v2/{parent=organizations/*}"
- + "/inspectTemplatesZ*\022(/v2/{parent=project"
- + "s/*}/inspectTemplates\022\307\001\n\025DeleteInspectT"
- + "emplate\0223.google.privacy.dlp.v2.DeleteIn"
- + "spectTemplateRequest\032\026.google.protobuf.E"
- + "mpty\"a\202\323\344\223\002[*-/v2/{name=organizations/*/"
- + "inspectTemplates/*}Z**(/v2/{name=project"
- + "s/*/inspectTemplates/*}\022\354\001\n\030CreateDeiden"
- + "tifyTemplate\0226.google.privacy.dlp.v2.Cre"
- + "ateDeidentifyTemplateRequest\032).google.pr"
- + "ivacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g\""
- + "0/v2/{parent=organizations/*}/deidentify"
- + "Templates:\001*Z0\"+/v2/{parent=projects/*}/"
- + "deidentifyTemplates:\001*\022\354\001\n\030UpdateDeident"
- + "ifyTemplate\0226.google.privacy.dlp.v2.Upda"
- + "teDeidentifyTemplateRequest\032).google.pri"
- + "vacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20"
- + "/v2/{name=organizations/*/deidentifyTemp"
- + "lates/*}:\001*Z02+/v2/{name=projects/*/deid"
- + "entifyTemplates/*}:\001*\022\340\001\n\025GetDeidentifyT"
- + "emplate\0223.google.privacy.dlp.v2.GetDeide"
- + "ntifyTemplateRequest\032).google.privacy.dl"
- + "p.v2.DeidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{na"
- + "me=organizations/*/deidentifyTemplates/*"
- + "}Z-\022+/v2/{name=projects/*/deidentifyTemp"
- + "lates/*}\022\361\001\n\027ListDeidentifyTemplates\0225.g"
- + "oogle.privacy.dlp.v2.ListDeidentifyTempl"
- + "atesRequest\0326.google.privacy.dlp.v2.List"
- + "DeidentifyTemplatesResponse\"g\202\323\344\223\002a\0220/v2"
- + "/{parent=organizations/*}/deidentifyTemp"
- + "latesZ-\022+/v2/{parent=projects/*}/deident"
- + "ifyTemplates\022\323\001\n\030DeleteDeidentifyTemplat"
- + "e\0226.google.privacy.dlp.v2.DeleteDeidenti"
- + "fyTemplateRequest\032\026.google.protobuf.Empt"
- + "y\"g\202\323\344\223\002a*0/v2/{name=organizations/*/dei"
- + "dentifyTemplates/*}Z-*+/v2/{name=project"
- + "s/*/deidentifyTemplates/*}\022\225\001\n\020CreateJob"
- + "Trigger\022..google.privacy.dlp.v2.CreateJo"
- + "bTriggerRequest\032!.google.privacy.dlp.v2."
- + "JobTrigger\".\202\323\344\223\002(\"#/v2/{parent=projects"
- + "/*}/jobTriggers:\001*\022\225\001\n\020UpdateJobTrigger\022"
- + "..google.privacy.dlp.v2.UpdateJobTrigger"
- + "Request\032!.google.privacy.dlp.v2.JobTrigg"
- + "er\".\202\323\344\223\002(2#/v2/{name=projects/*/jobTrig"
- + "gers/*}:\001*\022\214\001\n\rGetJobTrigger\022+.google.pr"
- + "ivacy.dlp.v2.GetJobTriggerRequest\032!.goog"
- + "le.privacy.dlp.v2.JobTrigger\"+\202\323\344\223\002%\022#/v"
- + "2/{name=projects/*/jobTriggers/*}\022\235\001\n\017Li"
- + "stJobTriggers\022-.google.privacy.dlp.v2.Li"
- + "stJobTriggersRequest\032..google.privacy.dl"
- + "p.v2.ListJobTriggersResponse\"+\202\323\344\223\002%\022#/v"
- + "2/{parent=projects/*}/jobTriggers\022\207\001\n\020De"
- + "leteJobTrigger\022..google.privacy.dlp.v2.D"
- + "eleteJobTriggerRequest\032\026.google.protobuf"
- + ".Empty\"+\202\323\344\223\002%*#/v2/{name=projects/*/job"
- + "Triggers/*}\022\205\001\n\014CreateDlpJob\022*.google.pr"
- + "ivacy.dlp.v2.CreateDlpJobRequest\032\035.googl"
- + "e.privacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{pa"
- + "rent=projects/*}/dlpJobs:\001*\022\215\001\n\013ListDlpJ"
- + "obs\022).google.privacy.dlp.v2.ListDlpJobsR"
- + "equest\032*.google.privacy.dlp.v2.ListDlpJo"
- + "bsResponse\"\'\202\323\344\223\002!\022\037/v2/{parent=projects"
- + "/*}/dlpJobs\022|\n\tGetDlpJob\022\'.google.privac"
- + "y.dlp.v2.GetDlpJobRequest\032\035.google.priva"
- + "cy.dlp.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=proj"
- + "ects/*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.goog"
- + "le.privacy.dlp.v2.DeleteDlpJobRequest\032\026."
- + "google.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{name"
- + "=projects/*/dlpJobs/*}\022\205\001\n\014CancelDlpJob\022"
- + "*.google.privacy.dlp.v2.CancelDlpJobRequ"
- + "est\032\026.google.protobuf.Empty\"1\202\323\344\223\002+\"&/v2"
- + "/{name=projects/*/dlpJobs/*}:cancel:\001*\022\330"
- + "\001\n\024CreateStoredInfoType\0222.google.privacy"
- + ".dlp.v2.CreateStoredInfoTypeRequest\032%.go"
- + "ogle.privacy.dlp.v2.StoredInfoType\"e\202\323\344\223"
- + "\002_\",/v2/{parent=organizations/*}/storedI"
- + "nfoTypes:\001*Z,\"\'/v2/{parent=projects/*}/s"
- + "toredInfoTypes:\001*\022\330\001\n\024UpdateStoredInfoTy"
- + "pe\0222.google.privacy.dlp.v2.UpdateStoredI"
- + "nfoTypeRequest\032%.google.privacy.dlp.v2.S"
- + "toredInfoType\"e\202\323\344\223\002_2,/v2/{name=organiz"
- + "ations/*/storedInfoTypes/*}:\001*Z,2\'/v2/{n"
- + "ame=projects/*/storedInfoTypes/*}:\001*\022\314\001\n"
- + "\021GetStoredInfoType\022/.google.privacy.dlp."
- + "v2.GetStoredInfoTypeRequest\032%.google.pri"
- + "vacy.dlp.v2.StoredInfoType\"_\202\323\344\223\002Y\022,/v2/"
- + "{name=organizations/*/storedInfoTypes/*}"
- + "Z)\022\'/v2/{name=projects/*/storedInfoTypes"
- + "/*}\022\335\001\n\023ListStoredInfoTypes\0221.google.pri"
- + "vacy.dlp.v2.ListStoredInfoTypesRequest\0322"
- + ".google.privacy.dlp.v2.ListStoredInfoTyp"
- + "esResponse\"_\202\323\344\223\002Y\022,/v2/{parent=organiza"
- + "tions/*}/storedInfoTypesZ)\022\'/v2/{parent="
- + "projects/*}/storedInfoTypes\022\303\001\n\024DeleteSt"
- + "oredInfoType\0222.google.privacy.dlp.v2.Del"
- + "eteStoredInfoTypeRequest\032\026.google.protob"
- + "uf.Empty\"_\202\323\344\223\002Y*,/v2/{name=organization"
- + "s/*/storedInfoTypes/*}Z)*\'/v2/{name=proj"
- + "ects/*/storedInfoTypes/*}B\215\001\n\031com.google"
- + ".privacy.dlp.v2B\010DlpProtoP\001Z8google.gola"
- + "ng.org/genproto/googleapis/privacy/dlp/v"
- + "2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Clo"
- + "ud\\Dlp\\V2b\006proto3"
+ + "timationResultH\000\022}\n delta_presence_estim"
+ + "ation_result\030\t \001(\0132Q.google.privacy.dlp."
+ + "v2.AnalyzeDataSourceRiskDetails.DeltaPre"
+ + "senceEstimationResultH\000\032\257\001\n\024NumericalSta"
+ + "tsResult\022/\n\tmin_value\030\001 \001(\0132\034.google.pri"
+ + "vacy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.g"
+ + "oogle.privacy.dlp.v2.Value\0225\n\017quantile_v"
+ + "alues\030\004 \003(\0132\034.google.privacy.dlp.v2.Valu"
+ + "e\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_f"
+ + "requency_histogram_buckets\030\005 \003(\0132j.googl"
+ + "e.privacy.dlp.v2.AnalyzeDataSourceRiskDe"
+ + "tails.CategoricalStatsResult.Categorical"
+ + "StatsHistogramBucket\032\332\001\n\037CategoricalStat"
+ + "sHistogramBucket\022#\n\033value_frequency_lowe"
+ + "r_bound\030\001 \001(\003\022#\n\033value_frequency_upper_b"
+ + "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucke"
+ + "t_values\030\004 \003(\0132%.google.privacy.dlp.v2.V"
+ + "alueFrequency\022\032\n\022bucket_value_count\030\005 \001("
+ + "\003\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_c"
+ + "lass_histogram_buckets\030\005 \003(\0132^.google.pr"
+ + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail"
+ + "s.KAnonymityResult.KAnonymityHistogramBu"
+ + "cket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qu"
+ + "asi_ids_values\030\001 \003(\0132\034.google.privacy.dl"
+ + "p.v2.Value\022\036\n\026equivalence_class_size\030\002 \001"
+ + "(\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equi"
+ + "valence_class_size_lower_bound\030\001 \001(\003\022*\n\""
+ + "equivalence_class_size_upper_bound\030\002 \001(\003"
+ + "\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004"
+ + " \003(\0132_.google.privacy.dlp.v2.AnalyzeData"
+ + "SourceRiskDetails.KAnonymityResult.KAnon"
+ + "ymityEquivalenceClass\022\032\n\022bucket_value_co"
+ + "unt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensi"
+ + "tive_value_frequency_histogram_buckets\030\005"
+ + " \003(\0132^.google.privacy.dlp.v2.AnalyzeData"
+ + "SourceRiskDetails.LDiversityResult.LDive"
+ + "rsityHistogramBucket\032\340\001\n\032LDiversityEquiv"
+ + "alenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034."
+ + "google.privacy.dlp.v2.Value\022\036\n\026equivalen"
+ + "ce_class_size\030\002 \001(\003\022%\n\035num_distinct_sens"
+ + "itive_values\030\003 \001(\003\022C\n\024top_sensitive_valu"
+ + "es\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFr"
+ + "equency\032\242\002\n\031LDiversityHistogramBucket\022-\n"
+ + "%sensitive_value_frequency_lower_bound\030\001"
+ + " \001(\003\022-\n%sensitive_value_frequency_upper_"
+ + "bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbuck"
+ + "et_values\030\004 \003(\0132_.google.privacy.dlp.v2."
+ + "AnalyzeDataSourceRiskDetails.LDiversityR"
+ + "esult.LDiversityEquivalenceClass\022\032\n\022buck"
+ + "et_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationR"
+ + "esult\022\212\001\n\032k_map_estimation_histogram\030\001 \003"
+ + "(\0132f.google.privacy.dlp.v2.AnalyzeDataSo"
+ + "urceRiskDetails.KMapEstimationResult.KMa"
+ + "pEstimationHistogramBucket\032r\n\033KMapEstima"
+ + "tionQuasiIdValues\0226\n\020quasi_ids_values\030\001 "
+ + "\003(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023est"
+ + "imated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimatio"
+ + "nHistogramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022"
+ + "\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 "
+ + "\001(\003\022{\n\rbucket_values\030\006 \003(\0132d.google.priv"
+ + "acy.dlp.v2.AnalyzeDataSourceRiskDetails."
+ + "KMapEstimationResult.KMapEstimationQuasi"
+ + "IdValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n"
+ + "\035DeltaPresenceEstimationResult\022\245\001\n#delta"
+ + "_presence_estimation_histogram\030\001 \003(\0132x.g"
+ + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi"
+ + "skDetails.DeltaPresenceEstimationResult."
+ + "DeltaPresenceEstimationHistogramBucket\032}"
+ + "\n$DeltaPresenceEstimationQuasiIdValues\0226"
+ + "\n\020quasi_ids_values\030\001 \003(\0132\034.google.privac"
+ + "y.dlp.v2.Value\022\035\n\025estimated_probability\030"
+ + "\002 \001(\001\032\233\002\n&DeltaPresenceEstimationHistogr"
+ + "amBucket\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max"
+ + "_probability\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022"
+ + "\215\001\n\rbucket_values\030\006 \003(\0132v.google.privacy"
+ + ".dlp.v2.AnalyzeDataSourceRiskDetails.Del"
+ + "taPresenceEstimationResult.DeltaPresence"
+ + "EstimationQuasiIdValues\022\032\n\022bucket_value_"
+ + "count\030\007 \001(\003B\010\n\006result\"L\n\016ValueFrequency\022"
+ + "+\n\005value\030\001 \001(\0132\034.google.privacy.dlp.v2.V"
+ + "alue\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rinteger"
+ + "_value\030\001 \001(\003H\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n"
+ + "\014string_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004"
+ + " \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.google"
+ + ".protobuf.TimestampH\000\022,\n\ntime_value\030\006 \001("
+ + "\0132\026.google.type.TimeOfDayH\000\022\'\n\ndate_valu"
+ + "e\030\007 \001(\0132\021.google.type.DateH\000\0223\n\021day_of_w"
+ + "eek_value\030\010 \001(\0162\026.google.type.DayOfWeekH"
+ + "\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001("
+ + "\0132\037.google.privacy.dlp.v2.DateTimeH\000B\016\n\014"
+ + "parsed_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132"
+ + "\021.google.type.Date\022+\n\013day_of_week\030\002 \001(\0162"
+ + "\026.google.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026."
+ + "google.type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\013"
+ + "2(.google.privacy.dlp.v2.DateTime.TimeZo"
+ + "ne\032\"\n\010TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\311"
+ + "\001\n\020DeidentifyConfig\022S\n\031info_type_transfo"
+ + "rmations\030\001 \001(\0132..google.privacy.dlp.v2.I"
+ + "nfoTypeTransformationsH\000\022N\n\026record_trans"
+ + "formations\030\002 \001(\0132,.google.privacy.dlp.v2"
+ + ".RecordTransformationsH\000B\020\n\016transformati"
+ + "on\"\234\006\n\027PrimitiveTransformation\022C\n\016replac"
+ + "e_config\030\001 \001(\0132).google.privacy.dlp.v2.R"
+ + "eplaceValueConfigH\000\022<\n\rredact_config\030\002 \001"
+ + "(\0132#.google.privacy.dlp.v2.RedactConfigH"
+ + "\000\022K\n\025character_mask_config\030\003 \001(\0132*.googl"
+ + "e.privacy.dlp.v2.CharacterMaskConfigH\000\022Y"
+ + "\n\035crypto_replace_ffx_fpe_config\030\004 \001(\01320."
+ + "google.privacy.dlp.v2.CryptoReplaceFfxFp"
+ + "eConfigH\000\022V\n\033fixed_size_bucketing_config"
+ + "\030\005 \001(\0132/.google.privacy.dlp.v2.FixedSize"
+ + "BucketingConfigH\000\022B\n\020bucketing_config\030\006 "
+ + "\001(\0132&.google.privacy.dlp.v2.BucketingCon"
+ + "figH\000\022Y\n\035replace_with_info_type_config\030\007"
+ + " \001(\01320.google.privacy.dlp.v2.ReplaceWith"
+ + "InfoTypeConfigH\000\022A\n\020time_part_config\030\010 \001"
+ + "(\0132%.google.privacy.dlp.v2.TimePartConfi"
+ + "gH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.google"
+ + ".privacy.dlp.v2.CryptoHashConfigH\000\022C\n\021da"
+ + "te_shift_config\030\013 \001(\0132&.google.privacy.d"
+ + "lp.v2.DateShiftConfigH\000B\020\n\016transformatio"
+ + "n\"\334\001\n\016TimePartConfig\022G\n\017part_to_extract\030"
+ + "\001 \001(\0162..google.privacy.dlp.v2.TimePartCo"
+ + "nfig.TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PART_"
+ + "UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DA"
+ + "Y_OF_MONTH\020\003\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF"
+ + "_YEAR\020\005\022\017\n\013HOUR_OF_DAY\020\006\"H\n\020CryptoHashCo"
+ + "nfig\0224\n\ncrypto_key\030\001 \001(\0132 .google.privac"
+ + "y.dlp.v2.CryptoKey\"E\n\022ReplaceValueConfig"
+ + "\022/\n\tnew_value\030\001 \001(\0132\034.google.privacy.dlp"
+ + ".v2.Value\"\033\n\031ReplaceWithInfoTypeConfig\"\016"
+ + "\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022\034\n\022char"
+ + "acters_to_skip\030\001 \001(\tH\000\022_\n\033common_charact"
+ + "ers_to_ignore\030\002 \001(\01628.google.privacy.dlp"
+ + ".v2.CharsToIgnore.CommonCharsToIgnoreH\000\""
+ + "\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON_CHARS_"
+ + "TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020"
+ + "ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003"
+ + "\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncha"
+ + "racters\"\243\001\n\023CharacterMaskConfig\022\031\n\021maski"
+ + "ng_character\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001"
+ + "(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024characters_"
+ + "to_ignore\030\004 \003(\0132$.google.privacy.dlp.v2."
+ + "CharsToIgnore\"\225\001\n\030FixedSizeBucketingConf"
+ + "ig\0221\n\013lower_bound\030\001 \001(\0132\034.google.privacy"
+ + ".dlp.v2.Value\0221\n\013upper_bound\030\002 \001(\0132\034.goo"
+ + "gle.privacy.dlp.v2.Value\022\023\n\013bucket_size\030"
+ + "\003 \001(\001\"\353\001\n\017BucketingConfig\022>\n\007buckets\030\001 \003"
+ + "(\0132-.google.privacy.dlp.v2.BucketingConf"
+ + "ig.Bucket\032\227\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.goog"
+ + "le.privacy.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.g"
+ + "oogle.privacy.dlp.v2.Value\0227\n\021replacemen"
+ + "t_value\030\003 \001(\0132\034.google.privacy.dlp.v2.Va",
+ "lue\"\364\003\n\031CryptoReplaceFfxFpeConfig\0224\n\ncry"
+ + "pto_key\030\001 \001(\0132 .google.privacy.dlp.v2.Cr"
+ + "yptoKey\022/\n\007context\030\002 \001(\0132\036.google.privac"
+ + "y.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001("
+ + "\0162H.google.privacy.dlp.v2.CryptoReplaceF"
+ + "fxFpeConfig.FfxCommonNativeAlphabetH\000\022\031\n"
+ + "\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H"
+ + "\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google."
+ + "privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNat"
+ + "iveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHABE"
+ + "T_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECI"
+ + "MAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rA"
+ + "LPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey"
+ + "\022>\n\ttransient\030\001 \001(\0132).google.privacy.dlp"
+ + ".v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002 "
+ + "\001(\0132).google.privacy.dlp.v2.UnwrappedCry"
+ + "ptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google.p"
+ + "rivacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006s"
+ + "ource\"\"\n\022TransientCryptoKey\022\014\n\004name\030\001 \001("
+ + "\t\"!\n\022UnwrappedCryptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023"
+ + "KmsWrappedCryptoKey\022\023\n\013wrapped_key\030\001 \001(\014"
+ + "\022\027\n\017crypto_key_name\030\002 \001(\t\"\270\001\n\017DateShiftC"
+ + "onfig\022\030\n\020upper_bound_days\030\001 \001(\005\022\030\n\020lower"
+ + "_bound_days\030\002 \001(\005\022/\n\007context\030\003 \001(\0132\036.goo"
+ + "gle.privacy.dlp.v2.FieldId\0226\n\ncrypto_key"
+ + "\030\004 \001(\0132 .google.privacy.dlp.v2.CryptoKey"
+ + "H\000B\010\n\006method\"\233\002\n\027InfoTypeTransformations"
+ + "\022^\n\017transformations\030\001 \003(\0132E.google.priva"
+ + "cy.dlp.v2.InfoTypeTransformations.InfoTy"
+ + "peTransformation\032\237\001\n\026InfoTypeTransformat"
+ + "ion\0223\n\ninfo_types\030\001 \003(\0132\037.google.privacy"
+ + ".dlp.v2.InfoType\022P\n\030primitive_transforma"
+ + "tion\030\002 \001(\0132..google.privacy.dlp.v2.Primi"
+ + "tiveTransformation\"\273\002\n\023FieldTransformati"
+ + "on\022.\n\006fields\030\001 \003(\0132\036.google.privacy.dlp."
+ + "v2.FieldId\0229\n\tcondition\030\003 \001(\0132&.google.p"
+ + "rivacy.dlp.v2.RecordCondition\022R\n\030primiti"
+ + "ve_transformation\030\004 \001(\0132..google.privacy"
+ + ".dlp.v2.PrimitiveTransformationH\000\022S\n\031inf"
+ + "o_type_transformations\030\005 \001(\0132..google.pr"
+ + "ivacy.dlp.v2.InfoTypeTransformationsH\000B\020"
+ + "\n\016transformation\"\251\001\n\025RecordTransformatio"
+ + "ns\022I\n\025field_transformations\030\001 \003(\0132*.goog"
+ + "le.privacy.dlp.v2.FieldTransformation\022E\n"
+ + "\023record_suppressions\030\002 \003(\0132(.google.priv"
+ + "acy.dlp.v2.RecordSuppression\"N\n\021RecordSu"
+ + "ppression\0229\n\tcondition\030\001 \001(\0132&.google.pr"
+ + "ivacy.dlp.v2.RecordCondition\"\322\004\n\017RecordC"
+ + "ondition\022G\n\013expressions\030\003 \001(\01322.google.p"
+ + "rivacy.dlp.v2.RecordCondition.Expression"
+ + "s\032\244\001\n\tCondition\022-\n\005field\030\001 \001(\0132\036.google."
+ + "privacy.dlp.v2.FieldId\022;\n\010operator\030\003 \001(\016"
+ + "2).google.privacy.dlp.v2.RelationalOpera"
+ + "tor\022+\n\005value\030\004 \001(\0132\034.google.privacy.dlp."
+ + "v2.Value\032R\n\nConditions\022D\n\nconditions\030\001 \003"
+ + "(\01320.google.privacy.dlp.v2.RecordConditi"
+ + "on.Condition\032\372\001\n\013Expressions\022\\\n\020logical_"
+ + "operator\030\001 \001(\0162B.google.privacy.dlp.v2.R"
+ + "ecordCondition.Expressions.LogicalOperat"
+ + "or\022G\n\nconditions\030\003 \001(\01321.google.privacy."
+ + "dlp.v2.RecordCondition.ConditionsH\000\"<\n\017L"
+ + "ogicalOperator\022 \n\034LOGICAL_OPERATOR_UNSPE"
+ + "CIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Transforma"
+ + "tionOverview\022\031\n\021transformed_bytes\030\002 \001(\003\022"
+ + "N\n\030transformation_summaries\030\003 \003(\0132,.goog"
+ + "le.privacy.dlp.v2.TransformationSummary\""
+ + "\237\005\n\025TransformationSummary\0222\n\tinfo_type\030\001"
+ + " \001(\0132\037.google.privacy.dlp.v2.InfoType\022-\n"
+ + "\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie"
+ + "ldId\022F\n\016transformation\030\003 \001(\0132..google.pr"
+ + "ivacy.dlp.v2.PrimitiveTransformation\022I\n\025"
+ + "field_transformations\030\005 \003(\0132*.google.pri"
+ + "vacy.dlp.v2.FieldTransformation\022A\n\017recor"
+ + "d_suppress\030\006 \001(\0132(.google.privacy.dlp.v2"
+ + ".RecordSuppression\022K\n\007results\030\004 \003(\0132:.go"
+ + "ogle.privacy.dlp.v2.TransformationSummar"
+ + "y.SummaryResult\022\031\n\021transformed_bytes\030\007 \001"
+ + "(\003\032\204\001\n\rSummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004c"
+ + "ode\030\002 \001(\0162E.google.privacy.dlp.v2.Transf"
+ + "ormationSummary.TransformationResultCode"
+ + "\022\017\n\007details\030\003 \001(\t\"^\n\030TransformationResul"
+ + "tCode\022*\n&TRANSFORMATION_RESULT_CODE_UNSP"
+ + "ECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Sch"
+ + "edule\022?\n\032recurrence_period_duration\030\001 \001("
+ + "\0132\031.google.protobuf.DurationH\000B\010\n\006option"
+ + "\"\352\001\n\017InspectTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di"
+ + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n"
+ + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim"
+ + "estamp\022/\n\013update_time\030\005 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp\022<\n\016inspect_config\030\006 \001(\0132"
+ + "$.google.privacy.dlp.v2.InspectConfig\"\363\001"
+ + "\n\022DeidentifyTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di"
+ + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n"
+ + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim"
+ + "estamp\022/\n\013update_time\030\005 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp\022B\n\021deidentify_config\030\006 \001"
+ + "(\0132\'.google.privacy.dlp.v2.DeidentifyCon"
+ + "fig\"\\\n\005Error\022#\n\007details\030\001 \001(\0132\022.google.r"
+ + "pc.Status\022.\n\ntimestamps\030\002 \003(\0132\032.google.p"
+ + "rotobuf.Timestamp\"\333\004\n\nJobTrigger\022\014\n\004name"
+ + "\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descript"
+ + "ion\030\003 \001(\t\022>\n\013inspect_job\030\004 \001(\0132\'.google."
+ + "privacy.dlp.v2.InspectJobConfigH\000\022;\n\010tri"
+ + "ggers\030\005 \003(\0132).google.privacy.dlp.v2.JobT"
+ + "rigger.Trigger\022,\n\006errors\030\006 \003(\0132\034.google."
+ + "privacy.dlp.v2.Error\022/\n\013create_time\030\007 \001("
+ + "\0132\032.google.protobuf.Timestamp\022/\n\013update_"
+ + "time\030\010 \001(\0132\032.google.protobuf.Timestamp\0221"
+ + "\n\rlast_run_time\030\t \001(\0132\032.google.protobuf."
+ + "Timestamp\0228\n\006status\030\n \001(\0162(.google.priva"
+ + "cy.dlp.v2.JobTrigger.Status\032I\n\007Trigger\0223"
+ + "\n\010schedule\030\001 \001(\0132\037.google.privacy.dlp.v2"
+ + ".ScheduleH\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STAT"
+ + "US_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020"
+ + "\002\022\r\n\tCANCELLED\020\003B\005\n\003job\"\356\003\n\006Action\022C\n\rsa"
+ + "ve_findings\030\001 \001(\0132*.google.privacy.dlp.v"
+ + "2.Action.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\013"
+ + "2-.google.privacy.dlp.v2.Action.PublishT"
+ + "oPubSubH\000\022U\n\027publish_summary_to_cscc\030\003 \001"
+ + "(\01322.google.privacy.dlp.v2.Action.Publis"
+ + "hSummaryToCsccH\000\022V\n\027job_notification_ema"
+ + "ils\030\010 \001(\01323.google.privacy.dlp.v2.Action"
+ + ".JobNotificationEmailsH\000\032Q\n\014SaveFindings"
+ + "\022A\n\routput_config\030\001 \001(\0132*.google.privacy"
+ + ".dlp.v2.OutputStorageConfig\032 \n\017PublishTo"
+ + "PubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryT"
+ + "oCscc\032\027\n\025JobNotificationEmailsB\010\n\006action"
+ + "\"\205\001\n\034CreateInspectTemplateRequest\022\016\n\006par"
+ + "ent\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\0132&.go"
+ + "ogle.privacy.dlp.v2.InspectTemplate\022\023\n\013t"
+ + "emplate_id\030\003 \001(\t\"\237\001\n\034UpdateInspectTempla"
+ + "teRequest\022\014\n\004name\030\001 \001(\t\022@\n\020inspect_templ"
+ + "ate\030\002 \001(\0132&.google.privacy.dlp.v2.Inspec"
+ + "tTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google."
+ + "protobuf.FieldMask\")\n\031GetInspectTemplate"
+ + "Request\022\014\n\004name\030\001 \001(\t\"f\n\033ListInspectTemp"
+ + "latesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_tok"
+ + "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030"
+ + "\004 \001(\t\"z\n\034ListInspectTemplatesResponse\022A\n"
+ + "\021inspect_templates\030\001 \003(\0132&.google.privac"
+ + "y.dlp.v2.InspectTemplate\022\027\n\017next_page_to"
+ + "ken\030\002 \001(\t\",\n\034DeleteInspectTemplateReques"
+ + "t\022\014\n\004name\030\001 \001(\t\"u\n\027CreateJobTriggerReque"
+ + "st\022\016\n\006parent\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132"
+ + "!.google.privacy.dlp.v2.JobTrigger\022\022\n\ntr"
+ + "igger_id\030\003 \001(\t\")\n\031ActivateJobTriggerRequ"
+ + "est\022\014\n\004name\030\001 \001(\t\"\220\001\n\027UpdateJobTriggerRe"
+ + "quest\022\014\n\004name\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\013"
+ + "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u"
+ + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field"
+ + "Mask\"$\n\024GetJobTriggerRequest\022\014\n\004name\030\001 \001"
+ + "(\t\"\276\001\n\023CreateDlpJobRequest\022\016\n\006parent\030\001 \001"
+ + "(\t\022>\n\013inspect_job\030\002 \001(\0132\'.google.privacy"
+ + ".dlp.v2.InspectJobConfigH\000\022@\n\010risk_job\030\003"
+ + " \001(\0132,.google.privacy.dlp.v2.RiskAnalysi"
+ + "sJobConfigH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"q\n\026L"
+ + "istJobTriggersRequest\022\016\n\006parent\030\001 \001(\t\022\022\n"
+ + "\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010"
+ + "order_by\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"k\n\027ListJo"
+ + "bTriggersResponse\0227\n\014job_triggers\030\001 \003(\0132"
+ + "!.google.privacy.dlp.v2.JobTrigger\022\027\n\017ne"
+ + "xt_page_token\030\002 \001(\t\"\'\n\027DeleteJobTriggerR"
+ + "equest\022\014\n\004name\030\001 \001(\t\"\335\001\n\020InspectJobConfi"
+ + "g\022<\n\016storage_config\030\001 \001(\0132$.google.priva"
+ + "cy.dlp.v2.StorageConfig\022<\n\016inspect_confi"
+ + "g\030\002 \001(\0132$.google.privacy.dlp.v2.InspectC"
+ + "onfig\022\035\n\025inspect_template_name\030\003 \001(\t\022.\n\007"
+ + "actions\030\004 \003(\0132\035.google.privacy.dlp.v2.Ac"
+ + "tion\"\336\004\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 "
+ + "\001(\0162!.google.privacy.dlp.v2.DlpJobType\0225"
+ + "\n\005state\030\003 \001(\0162&.google.privacy.dlp.v2.Dl"
+ + "pJob.JobState\022K\n\014risk_details\030\004 \001(\01323.go"
+ + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis"
+ + "kDetailsH\000\022J\n\017inspect_details\030\005 \001(\0132/.go"
+ + "ogle.privacy.dlp.v2.InspectDataSourceDet"
+ + "ailsH\000\022/\n\013create_time\030\006 \001(\0132\032.google.pro"
+ + "tobuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132\032.go"
+ + "ogle.protobuf.Timestamp\022,\n\010end_time\030\010 \001("
+ + "\0132\032.google.protobuf.Timestamp\022\030\n\020job_tri"
+ + "gger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google"
+ + ".privacy.dlp.v2.Error\"c\n\010JobState\022\031\n\025JOB"
+ + "_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUN"
+ + "NING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED"
+ + "\020\005B\t\n\007details\" \n\020GetDlpJobRequest\022\014\n\004nam"
+ + "e\030\001 \001(\t\"\236\001\n\022ListDlpJobsRequest\022\016\n\006parent"
+ + "\030\004 \001(\t\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_size\030\002 \001("
+ + "\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030\005 \001(\0162!.go"
+ + "ogle.privacy.dlp.v2.DlpJobType\022\020\n\010order_"
+ + "by\030\006 \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030"
+ + "\001 \003(\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017"
+ + "next_page_token\030\002 \001(\t\"#\n\023CancelDlpJobReq"
+ + "uest\022\014\n\004name\030\001 \001(\t\"#\n\023DeleteDlpJobReques"
+ + "t\022\014\n\004name\030\001 \001(\t\"\216\001\n\037CreateDeidentifyTemp"
+ + "lateRequest\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentif"
+ + "y_template\030\002 \001(\0132).google.privacy.dlp.v2"
+ + ".DeidentifyTemplate\022\023\n\013template_id\030\003 \001(\t"
+ + "\"\250\001\n\037UpdateDeidentifyTemplateRequest\022\014\n\004"
+ + "name\030\001 \001(\t\022F\n\023deidentify_template\030\002 \001(\0132"
+ + ").google.privacy.dlp.v2.DeidentifyTempla"
+ + "te\022/\n\013update_mask\030\003 \001(\0132\032.google.protobu"
+ + "f.FieldMask\",\n\034GetDeidentifyTemplateRequ"
+ + "est\022\014\n\004name\030\001 \001(\t\"i\n\036ListDeidentifyTempl"
+ + "atesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_toke"
+ + "n\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004"
+ + " \001(\t\"\203\001\n\037ListDeidentifyTemplatesResponse"
+ + "\022G\n\024deidentify_templates\030\001 \003(\0132).google."
+ + "privacy.dlp.v2.DeidentifyTemplate\022\027\n\017nex"
+ + "t_page_token\030\002 \001(\t\"/\n\037DeleteDeidentifyTe"
+ + "mplateRequest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033LargeCus"
+ + "tomDictionaryConfig\022<\n\013output_path\030\001 \001(\013"
+ + "2\'.google.privacy.dlp.v2.CloudStoragePat"
+ + "h\022L\n\026cloud_storage_file_set\030\002 \001(\0132*.goog"
+ + "le.privacy.dlp.v2.CloudStorageFileSetH\000\022"
+ + "?\n\017big_query_field\030\003 \001(\0132$.google.privac"
+ + "y.dlp.v2.BigQueryFieldH\000B\010\n\006source\"\240\001\n\024S"
+ + "toredInfoTypeConfig\022\024\n\014display_name\030\001 \001("
+ + "\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_d"
+ + "ictionary\030\003 \001(\01322.google.privacy.dlp.v2."
+ + "LargeCustomDictionaryConfigH\000B\006\n\004type\"\356\001"
+ + "\n\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(\0132"
+ + "+.google.privacy.dlp.v2.StoredInfoTypeCo"
+ + "nfig\022/\n\013create_time\030\002 \001(\0132\032.google.proto"
+ + "buf.Timestamp\0229\n\005state\030\003 \001(\0162*.google.pr"
+ + "ivacy.dlp.v2.StoredInfoTypeState\022,\n\006erro"
+ + "rs\030\004 \003(\0132\034.google.privacy.dlp.v2.Error\"\255"
+ + "\001\n\016StoredInfoType\022\014\n\004name\030\001 \001(\t\022E\n\017curre"
+ + "nt_version\030\002 \001(\0132,.google.privacy.dlp.v2"
+ + ".StoredInfoTypeVersion\022F\n\020pending_versio"
+ + "ns\030\003 \003(\0132,.google.privacy.dlp.v2.StoredI"
+ + "nfoTypeVersion\"\207\001\n\033CreateStoredInfoTypeR"
+ + "equest\022\016\n\006parent\030\001 \001(\t\022;\n\006config\030\002 \001(\0132+"
+ + ".google.privacy.dlp.v2.StoredInfoTypeCon"
+ + "fig\022\033\n\023stored_info_type_id\030\003 \001(\t\"\231\001\n\033Upd"
+ + "ateStoredInfoTypeRequest\022\014\n\004name\030\001 \001(\t\022;"
+ + "\n\006config\030\002 \001(\0132+.google.privacy.dlp.v2.S"
+ + "toredInfoTypeConfig\022/\n\013update_mask\030\003 \001(\013"
+ + "2\032.google.protobuf.FieldMask\"(\n\030GetStore"
+ + "dInfoTypeRequest\022\014\n\004name\030\001 \001(\t\"e\n\032ListSt"
+ + "oredInfoTypesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\n"
+ + "page_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010o"
+ + "rder_by\030\004 \001(\t\"x\n\033ListStoredInfoTypesResp"
+ + "onse\022@\n\021stored_info_types\030\001 \003(\0132%.google"
+ + ".privacy.dlp.v2.StoredInfoType\022\027\n\017next_p"
+ + "age_token\030\002 \001(\t\"+\n\033DeleteStoredInfoTypeR"
+ + "equest\022\014\n\004name\030\001 \001(\t*M\n\rContentOption\022\027\n"
+ + "\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001"
+ + "\022\021\n\rCONTENT_IMAGE\020\002*\215\001\n\014MatchingType\022\035\n\031"
+ + "MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING_"
+ + "TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PARTI"
+ + "AL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MATC"
+ + "H\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE_"
+ + "UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALY"
+ + "SIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RELATION"
+ + "AL_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022"
+ + "\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tL"
+ + "ESS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027"
+ + "\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*R\n\nD"
+ + "lpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\020\000\022"
+ + "\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS_JOB\020\002*"
+ + "n\n\023StoredInfoTypeState\022&\n\"STORED_INFO_TY"
+ + "PE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005R"
+ + "EADY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\312,\n\nDlpS"
+ + "ervice\022\241\001\n\016InspectContent\022,.google.priva"
+ + "cy.dlp.v2.InspectContentRequest\032-.google"
+ + ".privacy.dlp.v2.InspectContentResponse\"2"
+ + "\202\323\344\223\002,\"\'/v2/{parent=projects/*}/content:"
+ + "inspect:\001*\022\225\001\n\013RedactImage\022).google.priv"
+ + "acy.dlp.v2.RedactImageRequest\032*.google.p"
+ + "rivacy.dlp.v2.RedactImageResponse\"/\202\323\344\223\002"
+ + ")\"$/v2/{parent=projects/*}/image:redact:"
+ + "\001*\022\255\001\n\021DeidentifyContent\022/.google.privac"
+ + "y.dlp.v2.DeidentifyContentRequest\0320.goog"
+ + "le.privacy.dlp.v2.DeidentifyContentRespo"
+ + "nse\"5\202\323\344\223\002/\"*/v2/{parent=projects/*}/con"
+ + "tent:deidentify:\001*\022\255\001\n\021ReidentifyContent"
+ + "\022/.google.privacy.dlp.v2.ReidentifyConte"
+ + "ntRequest\0320.google.privacy.dlp.v2.Reiden"
+ + "tifyContentResponse\"5\202\323\344\223\002/\"*/v2/{parent"
+ + "=projects/*}/content:reidentify:\001*\022\201\001\n\rL"
+ + "istInfoTypes\022+.google.privacy.dlp.v2.Lis"
+ + "tInfoTypesRequest\032,.google.privacy.dlp.v"
+ + "2.ListInfoTypesResponse\"\025\202\323\344\223\002\017\022\r/v2/inf"
+ + "oTypes\022\335\001\n\025CreateInspectTemplate\0223.googl"
+ + "e.privacy.dlp.v2.CreateInspectTemplateRe"
+ + "quest\032&.google.privacy.dlp.v2.InspectTem"
+ + "plate\"g\202\323\344\223\002a\"-/v2/{parent=organizations"
+ + "/*}/inspectTemplates:\001*Z-\"(/v2/{parent=p"
+ + "rojects/*}/inspectTemplates:\001*\022\335\001\n\025Updat"
+ + "eInspectTemplate\0223.google.privacy.dlp.v2"
+ + ".UpdateInspectTemplateRequest\032&.google.p"
+ + "rivacy.dlp.v2.InspectTemplate\"g\202\323\344\223\002a2-/"
+ + "v2/{name=organizations/*/inspectTemplate"
+ + "s/*}:\001*Z-2(/v2/{name=projects/*/inspectT"
+ + "emplates/*}:\001*\022\321\001\n\022GetInspectTemplate\0220."
+ + "google.privacy.dlp.v2.GetInspectTemplate"
+ + "Request\032&.google.privacy.dlp.v2.InspectT"
+ + "emplate\"a\202\323\344\223\002[\022-/v2/{name=organizations"
+ + "/*/inspectTemplates/*}Z*\022(/v2/{name=proj"
+ + "ects/*/inspectTemplates/*}\022\342\001\n\024ListInspe"
+ + "ctTemplates\0222.google.privacy.dlp.v2.List"
+ + "InspectTemplatesRequest\0323.google.privacy"
+ + ".dlp.v2.ListInspectTemplatesResponse\"a\202\323"
+ + "\344\223\002[\022-/v2/{parent=organizations/*}/inspe"
+ + "ctTemplatesZ*\022(/v2/{parent=projects/*}/i"
+ + "nspectTemplates\022\307\001\n\025DeleteInspectTemplat"
+ + "e\0223.google.privacy.dlp.v2.DeleteInspectT"
+ + "emplateRequest\032\026.google.protobuf.Empty\"a"
+ + "\202\323\344\223\002[*-/v2/{name=organizations/*/inspec"
+ + "tTemplates/*}Z**(/v2/{name=projects/*/in"
+ + "spectTemplates/*}\022\354\001\n\030CreateDeidentifyTe"
+ + "mplate\0226.google.privacy.dlp.v2.CreateDei"
+ + "dentifyTemplateRequest\032).google.privacy."
+ + "dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g\"0/v2/{"
+ + "parent=organizations/*}/deidentifyTempla"
+ + "tes:\001*Z0\"+/v2/{parent=projects/*}/deiden"
+ + "tifyTemplates:\001*\022\354\001\n\030UpdateDeidentifyTem"
+ + "plate\0226.google.privacy.dlp.v2.UpdateDeid"
+ + "entifyTemplateRequest\032).google.privacy.d"
+ + "lp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20/v2/{n"
+ + "ame=organizations/*/deidentifyTemplates/"
+ + "*}:\001*Z02+/v2/{name=projects/*/deidentify"
+ + "Templates/*}:\001*\022\340\001\n\025GetDeidentifyTemplat"
+ + "e\0223.google.privacy.dlp.v2.GetDeidentifyT"
+ + "emplateRequest\032).google.privacy.dlp.v2.D"
+ + "eidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{name=org"
+ + "anizations/*/deidentifyTemplates/*}Z-\022+/"
+ + "v2/{name=projects/*/deidentifyTemplates/"
+ + "*}\022\361\001\n\027ListDeidentifyTemplates\0225.google."
+ + "privacy.dlp.v2.ListDeidentifyTemplatesRe"
+ + "quest\0326.google.privacy.dlp.v2.ListDeiden"
+ + "tifyTemplatesResponse\"g\202\323\344\223\002a\0220/v2/{pare"
+ + "nt=organizations/*}/deidentifyTemplatesZ"
+ + "-\022+/v2/{parent=projects/*}/deidentifyTem"
+ + "plates\022\323\001\n\030DeleteDeidentifyTemplate\0226.go"
+ + "ogle.privacy.dlp.v2.DeleteDeidentifyTemp"
+ + "lateRequest\032\026.google.protobuf.Empty\"g\202\323\344"
+ + "\223\002a*0/v2/{name=organizations/*/deidentif"
+ + "yTemplates/*}Z-*+/v2/{name=projects/*/de"
+ + "identifyTemplates/*}\022\225\001\n\020CreateJobTrigge"
+ + "r\022..google.privacy.dlp.v2.CreateJobTrigg"
+ + "erRequest\032!.google.privacy.dlp.v2.JobTri"
+ + "gger\".\202\323\344\223\002(\"#/v2/{parent=projects/*}/jo"
+ + "bTriggers:\001*\022\225\001\n\020UpdateJobTrigger\022..goog"
+ + "le.privacy.dlp.v2.UpdateJobTriggerReques"
+ + "t\032!.google.privacy.dlp.v2.JobTrigger\".\202\323"
+ + "\344\223\002(2#/v2/{name=projects/*/jobTriggers/*"
+ + "}:\001*\022\214\001\n\rGetJobTrigger\022+.google.privacy."
+ + "dlp.v2.GetJobTriggerRequest\032!.google.pri"
+ + "vacy.dlp.v2.JobTrigger\"+\202\323\344\223\002%\022#/v2/{nam"
+ + "e=projects/*/jobTriggers/*}\022\235\001\n\017ListJobT"
+ + "riggers\022-.google.privacy.dlp.v2.ListJobT"
+ + "riggersRequest\032..google.privacy.dlp.v2.L"
+ + "istJobTriggersResponse\"+\202\323\344\223\002%\022#/v2/{par"
+ + "ent=projects/*}/jobTriggers\022\207\001\n\020DeleteJo"
+ + "bTrigger\022..google.privacy.dlp.v2.DeleteJ"
+ + "obTriggerRequest\032\026.google.protobuf.Empty"
+ + "\"+\202\323\344\223\002%*#/v2/{name=projects/*/jobTrigge"
+ + "rs/*}\022\236\001\n\022ActivateJobTrigger\0220.google.pr"
+ + "ivacy.dlp.v2.ActivateJobTriggerRequest\032\035"
+ + ".google.privacy.dlp.v2.DlpJob\"7\202\323\344\223\0021\",/"
+ + "v2/{name=projects/*/jobTriggers/*}:activ"
+ + "ate:\001*\022\205\001\n\014CreateDlpJob\022*.google.privacy"
+ + ".dlp.v2.CreateDlpJobRequest\032\035.google.pri"
+ + "vacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{parent="
+ + "projects/*}/dlpJobs:\001*\022\215\001\n\013ListDlpJobs\022)"
+ + ".google.privacy.dlp.v2.ListDlpJobsReques"
+ + "t\032*.google.privacy.dlp.v2.ListDlpJobsRes"
+ + "ponse\"\'\202\323\344\223\002!\022\037/v2/{parent=projects/*}/d"
+ + "lpJobs\022|\n\tGetDlpJob\022\'.google.privacy.dlp"
+ + ".v2.GetDlpJobRequest\032\035.google.privacy.dl"
+ + "p.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=projects/"
+ + "*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.google.pr"
+ + "ivacy.dlp.v2.DeleteDlpJobRequest\032\026.googl"
+ + "e.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{name=proj"
+ + "ects/*/dlpJobs/*}\022\205\001\n\014CancelDlpJob\022*.goo"
+ + "gle.privacy.dlp.v2.CancelDlpJobRequest\032\026"
+ + ".google.protobuf.Empty\"1\202\323\344\223\002+\"&/v2/{nam"
+ + "e=projects/*/dlpJobs/*}:cancel:\001*\022\330\001\n\024Cr"
+ + "eateStoredInfoType\0222.google.privacy.dlp."
+ + "v2.CreateStoredInfoTypeRequest\032%.google."
+ + "privacy.dlp.v2.StoredInfoType\"e\202\323\344\223\002_\",/"
+ + "v2/{parent=organizations/*}/storedInfoTy"
+ + "pes:\001*Z,\"\'/v2/{parent=projects/*}/stored"
+ + "InfoTypes:\001*\022\330\001\n\024UpdateStoredInfoType\0222."
+ + "google.privacy.dlp.v2.UpdateStoredInfoTy"
+ + "peRequest\032%.google.privacy.dlp.v2.Stored"
+ + "InfoType\"e\202\323\344\223\002_2,/v2/{name=organization"
+ + "s/*/storedInfoTypes/*}:\001*Z,2\'/v2/{name=p"
+ + "rojects/*/storedInfoTypes/*}:\001*\022\314\001\n\021GetS"
+ + "toredInfoType\022/.google.privacy.dlp.v2.Ge"
+ + "tStoredInfoTypeRequest\032%.google.privacy."
+ + "dlp.v2.StoredInfoType\"_\202\323\344\223\002Y\022,/v2/{name"
+ + "=organizations/*/storedInfoTypes/*}Z)\022\'/"
+ + "v2/{name=projects/*/storedInfoTypes/*}\022\335"
+ + "\001\n\023ListStoredInfoTypes\0221.google.privacy."
+ + "dlp.v2.ListStoredInfoTypesRequest\0322.goog"
+ + "le.privacy.dlp.v2.ListStoredInfoTypesRes"
+ + "ponse\"_\202\323\344\223\002Y\022,/v2/{parent=organizations"
+ + "/*}/storedInfoTypesZ)\022\'/v2/{parent=proje"
+ + "cts/*}/storedInfoTypes\022\303\001\n\024DeleteStoredI",
+ "nfoType\0222.google.privacy.dlp.v2.DeleteSt"
+ + "oredInfoTypeRequest\032\026.google.protobuf.Em"
+ + "pty\"_\202\323\344\223\002Y*,/v2/{name=organizations/*/s"
+ + "toredInfoTypes/*}Z)*\'/v2/{name=projects/"
+ + "*/storedInfoTypes/*}B\215\001\n\031com.google.priv"
+ + "acy.dlp.v2B\010DlpProtoP\001Z8google.golang.or"
+ + "g/genproto/googleapis/privacy/dlp/v2;dlp"
+ + "\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dl"
+ + "p\\V2b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -1768,7 +1785,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor,
new java.lang.String[] {
- "Name", "DisplayName", "SupportedBy",
+ "Name", "DisplayName", "SupportedBy", "Description",
});
internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor =
getDescriptor().getMessageTypes().get(31);
@@ -2469,7 +2486,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_Action_descriptor,
new java.lang.String[] {
- "SaveFindings", "PubSub", "PublishSummaryToCscc", "Action",
+ "SaveFindings", "PubSub", "PublishSummaryToCscc", "JobNotificationEmails", "Action",
});
internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor =
internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0);
@@ -2493,6 +2510,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor,
new java.lang.String[] {});
+ internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor =
+ internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3);
+ internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor,
+ new java.lang.String[] {});
internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor =
getDescriptor().getMessageTypes().get(72);
internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable =
@@ -2549,8 +2572,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Parent", "JobTrigger", "TriggerId",
});
- internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor =
+ internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor =
getDescriptor().getMessageTypes().get(79);
+ internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor,
+ new java.lang.String[] {
+ "Name",
+ });
+ internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor =
+ getDescriptor().getMessageTypes().get(80);
internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor,
@@ -2558,7 +2589,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name", "JobTrigger", "UpdateMask",
});
internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor =
- getDescriptor().getMessageTypes().get(80);
+ getDescriptor().getMessageTypes().get(81);
internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor,
@@ -2566,7 +2597,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(81);
+ getDescriptor().getMessageTypes().get(82);
internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor,
@@ -2574,15 +2605,15 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "InspectJob", "RiskJob", "JobId", "Job",
});
internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor =
- getDescriptor().getMessageTypes().get(82);
+ getDescriptor().getMessageTypes().get(83);
internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor,
new java.lang.String[] {
- "Parent", "PageToken", "PageSize", "OrderBy",
+ "Parent", "PageToken", "PageSize", "OrderBy", "Filter",
});
internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor =
- getDescriptor().getMessageTypes().get(83);
+ getDescriptor().getMessageTypes().get(84);
internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor,
@@ -2590,7 +2621,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"JobTriggers", "NextPageToken",
});
internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor =
- getDescriptor().getMessageTypes().get(84);
+ getDescriptor().getMessageTypes().get(85);
internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor,
@@ -2598,7 +2629,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor =
- getDescriptor().getMessageTypes().get(85);
+ getDescriptor().getMessageTypes().get(86);
internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor,
@@ -2606,7 +2637,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"StorageConfig", "InspectConfig", "InspectTemplateName", "Actions",
});
internal_static_google_privacy_dlp_v2_DlpJob_descriptor =
- getDescriptor().getMessageTypes().get(86);
+ getDescriptor().getMessageTypes().get(87);
internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_DlpJob_descriptor,
@@ -2624,7 +2655,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Details",
});
internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(87);
+ getDescriptor().getMessageTypes().get(88);
internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor,
@@ -2632,7 +2663,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor =
- getDescriptor().getMessageTypes().get(88);
+ getDescriptor().getMessageTypes().get(89);
internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor,
@@ -2640,7 +2671,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy",
});
internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor =
- getDescriptor().getMessageTypes().get(89);
+ getDescriptor().getMessageTypes().get(90);
internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor,
@@ -2648,7 +2679,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Jobs", "NextPageToken",
});
internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(90);
+ getDescriptor().getMessageTypes().get(91);
internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor,
@@ -2656,7 +2687,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(91);
+ getDescriptor().getMessageTypes().get(92);
internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor,
@@ -2664,7 +2695,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(92);
+ getDescriptor().getMessageTypes().get(93);
internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor,
@@ -2672,7 +2703,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "DeidentifyTemplate", "TemplateId",
});
internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(93);
+ getDescriptor().getMessageTypes().get(94);
internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor,
@@ -2680,7 +2711,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name", "DeidentifyTemplate", "UpdateMask",
});
internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(94);
+ getDescriptor().getMessageTypes().get(95);
internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor,
@@ -2688,7 +2719,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor =
- getDescriptor().getMessageTypes().get(95);
+ getDescriptor().getMessageTypes().get(96);
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor,
@@ -2696,7 +2727,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "PageToken", "PageSize", "OrderBy",
});
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor =
- getDescriptor().getMessageTypes().get(96);
+ getDescriptor().getMessageTypes().get(97);
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor,
@@ -2704,7 +2735,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"DeidentifyTemplates", "NextPageToken",
});
internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(97);
+ getDescriptor().getMessageTypes().get(98);
internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor,
@@ -2712,7 +2743,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor =
- getDescriptor().getMessageTypes().get(98);
+ getDescriptor().getMessageTypes().get(99);
internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor,
@@ -2720,7 +2751,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"OutputPath", "CloudStorageFileSet", "BigQueryField", "Source",
});
internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor =
- getDescriptor().getMessageTypes().get(99);
+ getDescriptor().getMessageTypes().get(100);
internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor,
@@ -2728,7 +2759,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"DisplayName", "Description", "LargeCustomDictionary", "Type",
});
internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor =
- getDescriptor().getMessageTypes().get(100);
+ getDescriptor().getMessageTypes().get(101);
internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor,
@@ -2736,7 +2767,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Config", "CreateTime", "State", "Errors",
});
internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor =
- getDescriptor().getMessageTypes().get(101);
+ getDescriptor().getMessageTypes().get(102);
internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor,
@@ -2744,7 +2775,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name", "CurrentVersion", "PendingVersions",
});
internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor =
- getDescriptor().getMessageTypes().get(102);
+ getDescriptor().getMessageTypes().get(103);
internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor,
@@ -2752,7 +2783,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "Config", "StoredInfoTypeId",
});
internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor =
- getDescriptor().getMessageTypes().get(103);
+ getDescriptor().getMessageTypes().get(104);
internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor,
@@ -2760,7 +2791,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name", "Config", "UpdateMask",
});
internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor =
- getDescriptor().getMessageTypes().get(104);
+ getDescriptor().getMessageTypes().get(105);
internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor,
@@ -2768,7 +2799,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Name",
});
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor =
- getDescriptor().getMessageTypes().get(105);
+ getDescriptor().getMessageTypes().get(106);
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor,
@@ -2776,7 +2807,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Parent", "PageToken", "PageSize", "OrderBy",
});
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor =
- getDescriptor().getMessageTypes().get(106);
+ getDescriptor().getMessageTypes().get(107);
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor,
@@ -2784,7 +2815,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"StoredInfoTypes", "NextPageToken",
});
internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor =
- getDescriptor().getMessageTypes().get(107);
+ getDescriptor().getMessageTypes().get(108);
internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor,
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
index 1011ed469b5b..e7201a6a3d5e 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
@@ -150,7 +150,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ions.proto\032\037google/protobuf/timestamp.pr"
+ "oto\"\030\n\010InfoType\022\014\n\004name\030\001 \001(\t\"K\n\nStoredT"
+ "ype\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032"
- + ".google.protobuf.Timestamp\"\261\013\n\016CustomInf"
+ + ".google.protobuf.Timestamp\"\310\013\n\016CustomInf"
+ "oType\0222\n\tinfo_type\030\001 \001(\0132\037.google.privac"
+ "y.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162!."
+ "google.privacy.dlp.v2.Likelihood\022F\n\ndict"
@@ -169,98 +169,99 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "tomInfoType.Dictionary.WordListH\000\022E\n\022clo"
+ "ud_storage_path\030\003 \001(\0132\'.google.privacy.d"
+ "lp.v2.CloudStoragePathH\000\032\031\n\010WordList\022\r\n\005"
- + "words\030\001 \003(\tB\010\n\006source\032\030\n\005Regex\022\017\n\007patter"
- + "n\030\001 \001(\t\032\017\n\rSurrogateType\032\276\004\n\rDetectionRu"
- + "le\022W\n\014hotword_rule\030\001 \001(\0132?.google.privac"
- + "y.dlp.v2.CustomInfoType.DetectionRule.Ho"
- + "twordRuleH\000\0328\n\tProximity\022\025\n\rwindow_befor"
- + "e\030\001 \001(\005\022\024\n\014window_after\030\002 \001(\005\032\202\001\n\024Likeli"
- + "hoodAdjustment\022=\n\020fixed_likelihood\030\001 \001(\016"
- + "2!.google.privacy.dlp.v2.LikelihoodH\000\022\035\n"
- + "\023relative_likelihood\030\002 \001(\005H\000B\014\n\nadjustme"
- + "nt\032\214\002\n\013HotwordRule\022B\n\rhotword_regex\030\001 \001("
- + "\0132+.google.privacy.dlp.v2.CustomInfoType"
- + ".Regex\022P\n\tproximity\030\002 \001(\0132=.google.priva"
- + "cy.dlp.v2.CustomInfoType.DetectionRule.P"
- + "roximity\022g\n\025likelihood_adjustment\030\003 \001(\0132"
- + "H.google.privacy.dlp.v2.CustomInfoType.D"
- + "etectionRule.LikelihoodAdjustmentB\006\n\004typ"
- + "e\"K\n\rExclusionType\022\036\n\032EXCLUSION_TYPE_UNS"
- + "PECIFIED\020\000\022\032\n\026EXCLUSION_TYPE_EXCLUDE\020\001B\006"
- + "\n\004type\"\027\n\007FieldId\022\014\n\004name\030\001 \001(\t\"7\n\013Parti"
- + "tionId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014namespace_"
- + "id\030\004 \001(\t\"\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t"
- + "\"\201\001\n\020DatastoreOptions\0228\n\014partition_id\030\001 "
- + "\001(\0132\".google.privacy.dlp.v2.PartitionId\022"
- + "3\n\004kind\030\002 \001(\0132%.google.privacy.dlp.v2.Ki"
- + "ndExpression\"]\n\030CloudStorageRegexFileSet"
- + "\022\023\n\013bucket_name\030\001 \001(\t\022\025\n\rinclude_regex\030\002"
- + " \003(\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003\n\023CloudSto"
- + "rageOptions\022D\n\010file_set\030\001 \001(\01322.google.p"
- + "rivacy.dlp.v2.CloudStorageOptions.FileSe"
- + "t\022\034\n\024bytes_limit_per_file\030\004 \001(\003\022$\n\034bytes"
- + "_limit_per_file_percent\030\010 \001(\005\0223\n\nfile_ty"
- + "pes\030\005 \003(\0162\037.google.privacy.dlp.v2.FileTy"
- + "pe\022N\n\rsample_method\030\006 \001(\01627.google.priva"
- + "cy.dlp.v2.CloudStorageOptions.SampleMeth"
- + "od\022\033\n\023files_limit_percent\030\007 \001(\005\032_\n\007FileS"
- + "et\022\013\n\003url\030\001 \001(\t\022G\n\016regex_file_set\030\002 \001(\0132"
- + "/.google.privacy.dlp.v2.CloudStorageRege"
- + "xFileSet\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHO"
- + "D_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START"
- + "\020\002\"\"\n\023CloudStorageFileSet\022\013\n\003url\030\001 \001(\t\" "
- + "\n\020CloudStoragePath\022\014\n\004path\030\001 \001(\t\"\213\003\n\017Big"
- + "QueryOptions\022=\n\017table_reference\030\001 \001(\0132$."
- + "google.privacy.dlp.v2.BigQueryTable\022:\n\022i"
- + "dentifying_fields\030\002 \003(\0132\036.google.privacy"
- + ".dlp.v2.FieldId\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022r"
- + "ows_limit_percent\030\006 \001(\005\022J\n\rsample_method"
- + "\030\004 \001(\01623.google.privacy.dlp.v2.BigQueryO"
- + "ptions.SampleMethod\0227\n\017excluded_fields\030\005"
- + " \003(\0132\036.google.privacy.dlp.v2.FieldId\"H\n\014"
- + "SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIE"
- + "D\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\232\004\n\rStora"
- + "geConfig\022D\n\021datastore_options\030\002 \001(\0132\'.go"
- + "ogle.privacy.dlp.v2.DatastoreOptionsH\000\022K"
- + "\n\025cloud_storage_options\030\003 \001(\0132*.google.p"
- + "rivacy.dlp.v2.CloudStorageOptionsH\000\022C\n\021b"
- + "ig_query_options\030\004 \001(\0132&.google.privacy."
- + "dlp.v2.BigQueryOptionsH\000\022L\n\017timespan_con"
- + "fig\030\006 \001(\01323.google.privacy.dlp.v2.Storag"
- + "eConfig.TimespanConfig\032\332\001\n\016TimespanConfi"
- + "g\022.\n\nstart_time\030\001 \001(\0132\032.google.protobuf."
- + "Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.pro"
- + "tobuf.Timestamp\0227\n\017timestamp_field\030\003 \001(\013"
- + "2\036.google.privacy.dlp.v2.FieldId\0221\n)enab"
- + "le_auto_population_of_timespan_config\030\004 "
- + "\001(\010B\006\n\004type\"`\n\013BigQueryKey\022=\n\017table_refe"
- + "rence\030\001 \001(\0132$.google.privacy.dlp.v2.BigQ"
- + "ueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014Datasto"
- + "reKey\022.\n\nentity_key\030\001 \001(\0132\032.google.priva"
- + "cy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 "
- + "\001(\0132\".google.privacy.dlp.v2.PartitionId\022"
- + "4\n\004path\030\002 \003(\0132&.google.privacy.dlp.v2.Ke"
- + "y.PathElement\032D\n\013PathElement\022\014\n\004kind\030\001 \001"
- + "(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n\007id_t"
- + "ype\"\216\001\n\tRecordKey\022<\n\rdatastore_key\030\002 \001(\013"
- + "2#.google.privacy.dlp.v2.DatastoreKeyH\000\022"
- + ";\n\rbig_query_key\030\003 \001(\0132\".google.privacy."
- + "dlp.v2.BigQueryKeyH\000B\006\n\004type\"I\n\rBigQuery"
- + "Table\022\022\n\nproject_id\030\001 \001(\t\022\022\n\ndataset_id\030"
- + "\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"s\n\rBigQueryField"
- + "\0223\n\005table\030\001 \001(\0132$.google.privacy.dlp.v2."
- + "BigQueryTable\022-\n\005field\030\002 \001(\0132\036.google.pr"
- + "ivacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005fiel"
- + "d\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId*"
- + "t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020"
- + "\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010PO"
- + "SSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*E\n"
- + "\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013"
- + "BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002B\217\001\n\031com.goo"
- + "gle.privacy.dlp.v2B\nDlpStorageP\001Z8google"
- + ".golang.org/genproto/googleapis/privacy/"
- + "dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Googl"
- + "e\\Cloud\\Dlp\\V2b\006proto3"
+ + "words\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007patter"
+ + "n\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurrog"
+ + "ateType\032\276\004\n\rDetectionRule\022W\n\014hotword_rul"
+ + "e\030\001 \001(\0132?.google.privacy.dlp.v2.CustomIn"
+ + "foType.DetectionRule.HotwordRuleH\000\0328\n\tPr"
+ + "oximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014window"
+ + "_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022=\n"
+ + "\020fixed_likelihood\030\001 \001(\0162!.google.privacy"
+ + ".dlp.v2.LikelihoodH\000\022\035\n\023relative_likelih"
+ + "ood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordRul"
+ + "e\022B\n\rhotword_regex\030\001 \001(\0132+.google.privac"
+ + "y.dlp.v2.CustomInfoType.Regex\022P\n\tproximi"
+ + "ty\030\002 \001(\0132=.google.privacy.dlp.v2.CustomI"
+ + "nfoType.DetectionRule.Proximity\022g\n\025likel"
+ + "ihood_adjustment\030\003 \001(\0132H.google.privacy."
+ + "dlp.v2.CustomInfoType.DetectionRule.Like"
+ + "lihoodAdjustmentB\006\n\004type\"K\n\rExclusionTyp"
+ + "e\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026EXC"
+ + "LUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007FieldId"
+ + "\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproject"
+ + "_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016KindE"
+ + "xpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreOpt"
+ + "ions\0228\n\014partition_id\030\001 \001(\0132\".google.priv"
+ + "acy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%.g"
+ + "oogle.privacy.dlp.v2.KindExpression\"]\n\030C"
+ + "loudStorageRegexFileSet\022\023\n\013bucket_name\030\001"
+ + " \001(\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclude_r"
+ + "egex\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D\n\010fi"
+ + "le_set\030\001 \001(\01322.google.privacy.dlp.v2.Clo"
+ + "udStorageOptions.FileSet\022\034\n\024bytes_limit_"
+ + "per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file_p"
+ + "ercent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.googl"
+ + "e.privacy.dlp.v2.FileType\022N\n\rsample_meth"
+ + "od\030\006 \001(\01627.google.privacy.dlp.v2.CloudSt"
+ + "orageOptions.SampleMethod\022\033\n\023files_limit"
+ + "_percent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G"
+ + "\n\016regex_file_set\030\002 \001(\0132/.google.privacy."
+ + "dlp.v2.CloudStorageRegexFileSet\"H\n\014Sampl"
+ + "eMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000\022\007"
+ + "\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStorag"
+ + "eFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStoragePat"
+ + "h\022\014\n\004path\030\001 \001(\t\"\213\003\n\017BigQueryOptions\022=\n\017t"
+ + "able_reference\030\001 \001(\0132$.google.privacy.dl"
+ + "p.v2.BigQueryTable\022:\n\022identifying_fields"
+ + "\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId\022\022"
+ + "\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_percent"
+ + "\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google.p"
+ + "rivacy.dlp.v2.BigQueryOptions.SampleMeth"
+ + "od\0227\n\017excluded_fields\030\005 \003(\0132\036.google.pri"
+ + "vacy.dlp.v2.FieldId\"H\n\014SampleMethod\022\035\n\031S"
+ + "AMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014R"
+ + "ANDOM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021datas"
+ + "tore_options\030\002 \001(\0132\'.google.privacy.dlp."
+ + "v2.DatastoreOptionsH\000\022K\n\025cloud_storage_o"
+ + "ptions\030\003 \001(\0132*.google.privacy.dlp.v2.Clo"
+ + "udStorageOptionsH\000\022C\n\021big_query_options\030"
+ + "\004 \001(\0132&.google.privacy.dlp.v2.BigQueryOp"
+ + "tionsH\000\022L\n\017timespan_config\030\006 \001(\01323.googl"
+ + "e.privacy.dlp.v2.StorageConfig.TimespanC"
+ + "onfig\032\332\001\n\016TimespanConfig\022.\n\nstart_time\030\001"
+ + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_"
+ + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\0227"
+ + "\n\017timestamp_field\030\003 \001(\0132\036.google.privacy"
+ + ".dlp.v2.FieldId\0221\n)enable_auto_populatio"
+ + "n_of_timespan_config\030\004 \001(\010B\006\n\004type\"`\n\013Bi"
+ + "gQueryKey\022=\n\017table_reference\030\001 \001(\0132$.goo"
+ + "gle.privacy.dlp.v2.BigQueryTable\022\022\n\nrow_"
+ + "number\030\002 \001(\003\">\n\014DatastoreKey\022.\n\nentity_k"
+ + "ey\030\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001\n"
+ + "\003Key\0228\n\014partition_id\030\001 \001(\0132\".google.priv"
+ + "acy.dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&.g"
+ + "oogle.privacy.dlp.v2.Key.PathElement\032D\n\013"
+ + "PathElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022"
+ + "\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type\"\241\001\n\tRecordKey"
+ + "\022<\n\rdatastore_key\030\002 \001(\0132#.google.privacy"
+ + ".dlp.v2.DatastoreKeyH\000\022;\n\rbig_query_key\030"
+ + "\003 \001(\0132\".google.privacy.dlp.v2.BigQueryKe"
+ + "yH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004type\"I\n\rBigQue"
+ + "ryTable\022\022\n\nproject_id\030\001 \001(\t\022\022\n\ndataset_i"
+ + "d\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"s\n\rBigQueryFie"
+ + "ld\0223\n\005table\030\001 \001(\0132$.google.privacy.dlp.v"
+ + "2.BigQueryTable\022-\n\005field\030\002 \001(\0132\036.google."
+ + "privacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005fi"
+ + "eld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldI"
+ + "d*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFIE"
+ + "D\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010"
+ + "POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*"
+ + "P\n\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017"
+ + "\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020"
+ + "\003B\217\001\n\031com.google.privacy.dlp.v2B\nDlpStor"
+ + "ageP\001Z8google.golang.org/genproto/google"
+ + "apis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.D"
+ + "lp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -333,7 +334,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor,
new java.lang.String[] {
- "Pattern",
+ "Pattern", "GroupIndexes",
});
internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor =
internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2);
@@ -529,7 +530,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_privacy_dlp_v2_RecordKey_descriptor,
new java.lang.String[] {
- "DatastoreKey", "BigQueryKey", "Type",
+ "DatastoreKey", "BigQueryKey", "IdValues", "Type",
});
internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor =
getDescriptor().getMessageTypes().get(17);
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
index b08c46df6097..0b9c6c515f42 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
@@ -48,6 +48,18 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
* TEXT_FILE = 2;
*/
TEXT_FILE(2),
+ /**
+ *
+ *
+ *
+ * Included file extensions:
+ * bmp, gif, jpg, jpeg, jpe, png.
+ * bytes_limit_per_file has no effect on image files.
+ *
+ *
+ * IMAGE = 3;
+ */
+ IMAGE(3),
UNRECOGNIZED(-1),
;
@@ -86,6 +98,18 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
* TEXT_FILE = 2;
*/
public static final int TEXT_FILE_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * Included file extensions:
+ * bmp, gif, jpg, jpeg, jpe, png.
+ * bytes_limit_per_file has no effect on image files.
+ *
+ *
+ * IMAGE = 3;
+ */
+ public static final int IMAGE_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -109,6 +133,8 @@ public static FileType forNumber(int value) {
return BINARY_FILE;
case 2:
return TEXT_FILE;
+ case 3:
+ return IMAGE;
default:
return null;
}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
index 1ad4f5068e58..8434a19c1eeb 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
@@ -26,6 +26,7 @@ private InfoTypeDescription() {
name_ = "";
displayName_ = "";
supportedBy_ = java.util.Collections.emptyList();
+ description_ = "";
}
@java.lang.Override
@@ -91,6 +92,13 @@ private InfoTypeDescription(
input.popLimit(oldLimit);
break;
}
+ case 34:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ description_ = s;
+ break;
+ }
default:
{
if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -296,6 +304,51 @@ public int getSupportedByValue(int index) {
private int supportedByMemoizedSerializedSize;
+ public static final int DESCRIPTION_FIELD_NUMBER = 4;
+ private volatile java.lang.Object description_;
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -324,6 +377,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < supportedBy_.size(); i++) {
output.writeEnumNoTag(supportedBy_.get(i));
}
+ if (!getDescriptionBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
+ }
unknownFields.writeTo(output);
}
@@ -351,6 +407,9 @@ public int getSerializedSize() {
}
supportedByMemoizedSerializedSize = dataSize;
}
+ if (!getDescriptionBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -371,6 +430,7 @@ public boolean equals(final java.lang.Object obj) {
result = result && getName().equals(other.getName());
result = result && getDisplayName().equals(other.getDisplayName());
result = result && supportedBy_.equals(other.supportedBy_);
+ result = result && getDescription().equals(other.getDescription());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -390,6 +450,8 @@ public int hashCode() {
hash = (37 * hash) + SUPPORTED_BY_FIELD_NUMBER;
hash = (53 * hash) + supportedBy_.hashCode();
}
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -541,6 +603,8 @@ public Builder clear() {
supportedBy_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
+ description_ = "";
+
return this;
}
@@ -577,6 +641,7 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() {
bitField0_ = (bitField0_ & ~0x00000004);
}
result.supportedBy_ = supportedBy_;
+ result.description_ = description_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -645,6 +710,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) {
}
onChanged();
}
+ if (!other.getDescription().isEmpty()) {
+ description_ = other.description_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1051,6 +1120,105 @@ public Builder addAllSupportedByValue(java.lang.Iterable valu
return this;
}
+ private java.lang.Object description_ = "";
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public Builder clearDescription() {
+
+ description_ = getDefaultInstance().getDescription();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ description_ = 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-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
index b9c3bdb48fc8..30b31bc8d0fa 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
@@ -100,4 +100,27 @@ public interface InfoTypeDescriptionOrBuilder
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
*/
int getSupportedByValue(int index);
+
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ java.lang.String getDescription();
+ /**
+ *
+ *
+ *
+ * Description of the infotype. Translated when language is provided in the
+ * request.
+ *
+ *
+ * string description = 4;
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
index 5bc8fe2ba9fa..f44dc437dcb0 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
@@ -208,7 +208,7 @@ public interface FindingLimitsOrBuilder
*
* Max number of findings that will be returned for each item scanned.
* When set within `InspectDataSourceRequest`,
- * the maximum returned is 1000 regardless if this is set higher.
+ * the maximum returned is 2000 regardless if this is set higher.
* When set within `InspectContentRequest`, this field is ignored.
*
*
@@ -221,7 +221,7 @@ public interface FindingLimitsOrBuilder
*
*
* Max number of findings that will be returned per request/job.
- * When set within `InspectContentRequest`, the maximum returned is 1000
+ * When set within `InspectContentRequest`, the maximum returned is 2000
* regardless if this is set higher.
*
*
@@ -1304,7 +1304,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* Max number of findings that will be returned for each item scanned.
* When set within `InspectDataSourceRequest`,
- * the maximum returned is 1000 regardless if this is set higher.
+ * the maximum returned is 2000 regardless if this is set higher.
* When set within `InspectContentRequest`, this field is ignored.
*
*
@@ -1321,7 +1321,7 @@ public int getMaxFindingsPerItem() {
*
*
* Max number of findings that will be returned per request/job.
- * When set within `InspectContentRequest`, the maximum returned is 1000
+ * When set within `InspectContentRequest`, the maximum returned is 2000
* regardless if this is set higher.
*
*
@@ -1811,7 +1811,7 @@ public Builder mergeFrom(
*
* Max number of findings that will be returned for each item scanned.
* When set within `InspectDataSourceRequest`,
- * the maximum returned is 1000 regardless if this is set higher.
+ * the maximum returned is 2000 regardless if this is set higher.
* When set within `InspectContentRequest`, this field is ignored.
*
*
@@ -1826,7 +1826,7 @@ public int getMaxFindingsPerItem() {
*
* Max number of findings that will be returned for each item scanned.
* When set within `InspectDataSourceRequest`,
- * the maximum returned is 1000 regardless if this is set higher.
+ * the maximum returned is 2000 regardless if this is set higher.
* When set within `InspectContentRequest`, this field is ignored.
*
*
@@ -1844,7 +1844,7 @@ public Builder setMaxFindingsPerItem(int value) {
*
* Max number of findings that will be returned for each item scanned.
* When set within `InspectDataSourceRequest`,
- * the maximum returned is 1000 regardless if this is set higher.
+ * the maximum returned is 2000 regardless if this is set higher.
* When set within `InspectContentRequest`, this field is ignored.
*
*
@@ -1863,7 +1863,7 @@ public Builder clearMaxFindingsPerItem() {
*
*
* Max number of findings that will be returned per request/job.
- * When set within `InspectContentRequest`, the maximum returned is 1000
+ * When set within `InspectContentRequest`, the maximum returned is 2000
* regardless if this is set higher.
*
*
@@ -1877,7 +1877,7 @@ public int getMaxFindingsPerRequest() {
*
*
* Max number of findings that will be returned per request/job.
- * When set within `InspectContentRequest`, the maximum returned is 1000
+ * When set within `InspectContentRequest`, the maximum returned is 2000
* regardless if this is set higher.
*
*
@@ -1894,7 +1894,7 @@ public Builder setMaxFindingsPerRequest(int value) {
*
*
* Max number of findings that will be returned per request/job.
- * When set within `InspectContentRequest`, the maximum returned is 1000
+ * When set within `InspectContentRequest`, the maximum returned is 2000
* regardless if this is set higher.
*
*
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
index 078859057dee..09c9058f91ab 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
@@ -27,6 +27,7 @@ private ListJobTriggersRequest() {
pageToken_ = "";
pageSize_ = 0;
orderBy_ = "";
+ filter_ = "";
}
@java.lang.Override
@@ -79,6 +80,13 @@ private ListJobTriggersRequest(
orderBy_ = s;
break;
}
+ case 42:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ filter_ = s;
+ break;
+ }
default:
{
if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -232,6 +240,7 @@ public int getPageSize() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -262,6 +271,7 @@ public java.lang.String getOrderBy() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -281,6 +291,85 @@ public com.google.protobuf.ByteString getOrderByBytes() {
}
}
+ public static final int FILTER_FIELD_NUMBER = 5;
+ private volatile java.lang.Object filter_;
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -307,6 +396,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getOrderByBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_);
}
+ if (!getFilterBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_);
+ }
unknownFields.writeTo(output);
}
@@ -328,6 +420,9 @@ public int getSerializedSize() {
if (!getOrderByBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_);
}
+ if (!getFilterBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -349,6 +444,7 @@ public boolean equals(final java.lang.Object obj) {
result = result && getPageToken().equals(other.getPageToken());
result = result && (getPageSize() == other.getPageSize());
result = result && getOrderBy().equals(other.getOrderBy());
+ result = result && getFilter().equals(other.getFilter());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -368,6 +464,8 @@ public int hashCode() {
hash = (53 * hash) + getPageSize();
hash = (37 * hash) + ORDER_BY_FIELD_NUMBER;
hash = (53 * hash) + getOrderBy().hashCode();
+ hash = (37 * hash) + FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getFilter().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -521,6 +619,8 @@ public Builder clear() {
orderBy_ = "";
+ filter_ = "";
+
return this;
}
@@ -552,6 +652,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() {
result.pageToken_ = pageToken_;
result.pageSize_ = pageSize_;
result.orderBy_ = orderBy_;
+ result.filter_ = filter_;
onBuilt();
return result;
}
@@ -617,6 +718,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other)
orderBy_ = other.orderBy_;
onChanged();
}
+ if (!other.getFilter().isEmpty()) {
+ filter_ = other.filter_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -901,6 +1006,7 @@ public Builder clearPageSize() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -931,6 +1037,7 @@ public java.lang.String getOrderBy() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -961,6 +1068,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -989,6 +1097,7 @@ public Builder setOrderBy(java.lang.String value) {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -1014,6 +1123,7 @@ public Builder clearOrderBy() {
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -1032,6 +1142,190 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object filter_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public Builder setFilter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ filter_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public Builder clearFilter() {
+
+ filter_ = getDefaultInstance().getFilter();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ filter_ = 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-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
index ee34766ab921..ae21fd429580 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
@@ -77,6 +77,7 @@ public interface ListJobTriggersRequestOrBuilder
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -97,6 +98,7 @@ public interface ListJobTriggersRequestOrBuilder
* Supported fields are:
* - `create_time`: corresponds to time the JobTrigger was created.
* - `update_time`: corresponds to time the JobTrigger was last updated.
+ * - `last_run_time`: corresponds to the last time the JobTrigger ran.
* - `name`: corresponds to JobTrigger's name.
* - `display_name`: corresponds to JobTrigger's display name.
* - `status`: corresponds to JobTrigger's status.
@@ -105,4 +107,61 @@ public interface ListJobTriggersRequestOrBuilder
* string order_by = 4;
*/
com.google.protobuf.ByteString getOrderByBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ java.lang.String getFilter();
+ /**
+ *
+ *
+ *
+ * Optional. Allows filtering.
+ * Supported syntax:
+ * * Filter expressions are made up of one or more restrictions.
+ * * Restrictions can be combined by `AND` or `OR` logical operators. A
+ * sequence of restrictions implicitly uses `AND`.
+ * * A restriction has the form of `<field> <operator> <value>`.
+ * * Supported fields/values for inspect jobs:
+ * - `status` - HEALTHY|PAUSED|CANCELLED
+ * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ * quotation marks. Nanoseconds are ignored.
+ * - 'error_count' - Number of errors that have occurred while running.
+ * * The operator must be `=` or `!=` for status and inspected_storage.
+ * Examples:
+ * * inspected_storage = cloud_storage AND status = HEALTHY
+ * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ * The length of this field should be no more than 500 characters.
+ *
+ *
+ * string filter = 5;
+ */
+ com.google.protobuf.ByteString getFilterBytes();
}
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 a9489630f5fb..983b008bb96b 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
@@ -194,6 +194,8 @@ public interface ConditionOrBuilder
*
* The field type of `value` and `field` do not need to match to be
* considered equal, but not all comparisons are possible.
+ * EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+ * but all other comparisons are invalid with incompatible types.
* A `value` of type:
* - `string` can be compared against all other types
* - `boolean` can only be compared against other booleans
@@ -629,6 +631,8 @@ protected Builder newBuilderForType(
*
* The field type of `value` and `field` do not need to match to be
* considered equal, but not all comparisons are possible.
+ * EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+ * but all other comparisons are invalid with incompatible types.
* A `value` of type:
* - `string` can be compared against all other types
* - `boolean` can only be compared against other booleans
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
index be06f5831510..438c109f24c4 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
@@ -22,7 +22,9 @@ private RecordKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private RecordKey() {}
+ private RecordKey() {
+ idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ }
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
@@ -80,6 +82,16 @@ private RecordKey(
typeCase_ = 3;
break;
}
+ case 42:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ idValues_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ idValues_.add(s);
+ break;
+ }
default:
{
if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -94,6 +106,9 @@ private RecordKey(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
+ if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ idValues_ = idValues_.getUnmodifiableView();
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -114,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.RecordKey.Builder.class);
}
+ private int bitField0_;
private int typeCase_ = 0;
private java.lang.Object type_;
@@ -194,6 +210,61 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance();
}
+ public static final int ID_VALUES_FIELD_NUMBER = 5;
+ private com.google.protobuf.LazyStringList idValues_;
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public com.google.protobuf.ProtocolStringList getIdValuesList() {
+ return idValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public int getIdValuesCount() {
+ return idValues_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public java.lang.String getIdValues(int index) {
+ return idValues_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public com.google.protobuf.ByteString getIdValuesBytes(int index) {
+ return idValues_.getByteString(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -214,6 +285,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (typeCase_ == 3) {
output.writeMessage(3, (com.google.privacy.dlp.v2.BigQueryKey) type_);
}
+ for (int i = 0; i < idValues_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idValues_.getRaw(i));
+ }
unknownFields.writeTo(output);
}
@@ -233,6 +307,14 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
3, (com.google.privacy.dlp.v2.BigQueryKey) type_);
}
+ {
+ int dataSize = 0;
+ for (int i = 0; i < idValues_.size(); i++) {
+ dataSize += computeStringSizeNoTag(idValues_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getIdValuesList().size();
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -249,6 +331,7 @@ public boolean equals(final java.lang.Object obj) {
com.google.privacy.dlp.v2.RecordKey other = (com.google.privacy.dlp.v2.RecordKey) obj;
boolean result = true;
+ result = result && getIdValuesList().equals(other.getIdValuesList());
result = result && getTypeCase().equals(other.getTypeCase());
if (!result) return false;
switch (typeCase_) {
@@ -272,6 +355,10 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ if (getIdValuesCount() > 0) {
+ hash = (37 * hash) + ID_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getIdValuesList().hashCode();
+ }
switch (typeCase_) {
case 2:
hash = (37 * hash) + DATASTORE_KEY_FIELD_NUMBER;
@@ -428,6 +515,8 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
typeCase_ = 0;
type_ = null;
return this;
@@ -456,6 +545,8 @@ public com.google.privacy.dlp.v2.RecordKey build() {
@java.lang.Override
public com.google.privacy.dlp.v2.RecordKey buildPartial() {
com.google.privacy.dlp.v2.RecordKey result = new com.google.privacy.dlp.v2.RecordKey(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
if (typeCase_ == 2) {
if (datastoreKeyBuilder_ == null) {
result.type_ = type_;
@@ -470,6 +561,12 @@ public com.google.privacy.dlp.v2.RecordKey buildPartial() {
result.type_ = bigQueryKeyBuilder_.build();
}
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ idValues_ = idValues_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.idValues_ = idValues_;
+ result.bitField0_ = to_bitField0_;
result.typeCase_ = typeCase_;
onBuilt();
return result;
@@ -520,6 +617,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.privacy.dlp.v2.RecordKey other) {
if (other == com.google.privacy.dlp.v2.RecordKey.getDefaultInstance()) return this;
+ if (!other.idValues_.isEmpty()) {
+ if (idValues_.isEmpty()) {
+ idValues_ = other.idValues_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureIdValuesIsMutable();
+ idValues_.addAll(other.idValues_);
+ }
+ onChanged();
+ }
switch (other.getTypeCase()) {
case DATASTORE_KEY:
{
@@ -579,6 +686,8 @@ public Builder clearType() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.privacy.dlp.v2.DatastoreKey,
com.google.privacy.dlp.v2.DatastoreKey.Builder,
@@ -832,6 +941,158 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
return bigQueryKeyBuilder_;
}
+ private com.google.protobuf.LazyStringList idValues_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureIdValuesIsMutable() {
+ if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ idValues_ = new com.google.protobuf.LazyStringArrayList(idValues_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public com.google.protobuf.ProtocolStringList getIdValuesList() {
+ return idValues_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public int getIdValuesCount() {
+ return idValues_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public java.lang.String getIdValues(int index) {
+ return idValues_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public com.google.protobuf.ByteString getIdValuesBytes(int index) {
+ return idValues_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public Builder setIdValues(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIdValuesIsMutable();
+ idValues_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public Builder addIdValues(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIdValuesIsMutable();
+ idValues_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public Builder addAllIdValues(java.lang.Iterable values) {
+ ensureIdValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, idValues_);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public Builder clearIdValues() {
+ idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ public Builder addIdValuesBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureIdValuesIsMutable();
+ idValues_.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-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
index a8535fdbb57e..fadc9fc52ef6 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
@@ -22,5 +22,50 @@ public interface RecordKeyOrBuilder
/** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder();
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ java.util.List getIdValuesList();
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ int getIdValuesCount();
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ java.lang.String getIdValues(int index);
+ /**
+ *
+ *
+ *
+ * Values of identifying columns in the given row. Order of values matches
+ * the order of field identifiers specified in the scanning request.
+ *
+ *
+ * repeated string id_values = 5;
+ */
+ com.google.protobuf.ByteString getIdValuesBytes(int index);
+
public com.google.privacy.dlp.v2.RecordKey.TypeCase getTypeCase();
}
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
index 6fff36e2cc53..81629fdcebc2 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
@@ -19,7 +19,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu
*
*
*
- * Equal.
+ * Equal. Attempts to match even with incompatible types.
*
*
* EQUAL_TO = 1;
@@ -29,7 +29,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu
*
*
*
- * Not equal to.
+ * Not equal to. Attempts to match even with incompatible types.
*
*
* NOT_EQUAL_TO = 2;
@@ -94,7 +94,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu
*
*
*
- * Equal.
+ * Equal. Attempts to match even with incompatible types.
*
*
* EQUAL_TO = 1;
@@ -104,7 +104,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu
*
*
*
- * Not equal to.
+ * Not equal to. Attempts to match even with incompatible types.
*
*
* NOT_EQUAL_TO = 2;
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 1b217808e79b..92cd1fe2d706 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
@@ -1103,7 +1103,7 @@ public com.google.protobuf.Parser getParserForType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1115,7 +1115,7 @@ public boolean hasInfoType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1127,7 +1127,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1941,7 +1941,7 @@ public Builder mergeFrom(
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1953,7 +1953,7 @@ public boolean hasInfoType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1971,7 +1971,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -1993,7 +1993,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -2012,7 +2012,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -2038,7 +2038,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -2058,7 +2058,7 @@ public Builder clearInfoType() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -2072,7 +2072,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -2090,7 +2090,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
index f08b0d7c963e..98458651fbd6 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
@@ -12,7 +12,7 @@ public interface TransformationSummaryOrBuilder
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -22,7 +22,7 @@ public interface TransformationSummaryOrBuilder
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
@@ -32,7 +32,7 @@ public interface TransformationSummaryOrBuilder
*
*
*
- * Set if the transformation was limited to a specific info_type.
+ * Set if the transformation was limited to a specific InfoType.
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
index e2858d6f652c..cdf9d19fc70f 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
@@ -280,6 +280,15 @@ service DlpService {
};
}
+ // Activate a job trigger. Causes the immediate execute of a trigger
+ // instead of waiting on the trigger event to occur.
+ rpc ActivateJobTrigger(ActivateJobTriggerRequest) returns (DlpJob) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/jobTriggers/*}:activate"
+ body: "*"
+ };
+ }
+
// Creates a new job to inspect storage or calculate risk metrics.
// See https://cloud.google.com/dlp/docs/inspecting-storage and
// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
@@ -432,6 +441,18 @@ message ExclusionRule {
MatchingType matching_type = 4;
}
+// Options describing which parts of the provided content should be scanned.
+enum ContentOption {
+ // Includes entire content of a file or a data stream.
+ CONTENT_UNSPECIFIED = 0;
+
+ // Text content within the data, excluding any metadata.
+ CONTENT_TEXT = 1;
+
+ // Images found in the data.
+ CONTENT_IMAGE = 2;
+}
+
// A single inspection rule to be applied to infoTypes, specified in
// `InspectionRuleSet`.
message InspectionRule {
@@ -474,12 +495,12 @@ message InspectConfig {
// Max number of findings that will be returned for each item scanned.
// When set within `InspectDataSourceRequest`,
- // the maximum returned is 1000 regardless if this is set higher.
+ // the maximum returned is 2000 regardless if this is set higher.
// When set within `InspectContentRequest`, this field is ignored.
int32 max_findings_per_item = 1;
// Max number of findings that will be returned per request/job.
- // When set within `InspectContentRequest`, the maximum returned is 1000
+ // When set within `InspectContentRequest`, the maximum returned is 2000
// regardless if this is set higher.
int32 max_findings_per_request = 2;
@@ -645,6 +666,35 @@ message Location {
repeated ContentLocation content_locations = 7;
}
+// Type of the match which can be applied to different ways of matching, like
+// Dictionary, regular expression and intersecting with findings of another
+// info type.
+enum MatchingType {
+ // Invalid.
+ MATCHING_TYPE_UNSPECIFIED = 0;
+
+ // Full match.
+ //
+ // - Dictionary: join of Dictionary results matched complete finding quote
+ // - Regex: all regex matches fill a finding quote start to end
+ // - Exclude info type: completely inside affecting info types findings
+ MATCHING_TYPE_FULL_MATCH = 1;
+
+ // Partial match.
+ //
+ // - Dictionary: at least one of the tokens in the finding matches
+ // - Regex: substring of the finding matches
+ // - Exclude info type: intersects with affecting info types findings
+ MATCHING_TYPE_PARTIAL_MATCH = 2;
+
+ // Inverse match.
+ //
+ // - Dictionary: no tokens in the finding match the dictionary
+ // - Regex: finding doesn't match the regex
+ // - Exclude info type: no intersection with affecting info types findings
+ MATCHING_TYPE_INVERSE_MATCH = 3;
+}
+
// Findings container location data.
message ContentLocation {
// Name of the container where the finding is located.
@@ -1019,6 +1069,10 @@ message InfoTypeDescription {
// Which parts of the API supports this InfoType.
repeated InfoTypeSupportedBy supported_by = 3;
+
+ // Description of the infotype. Translated when language is provided in the
+ // request.
+ string description = 4;
}
// Request for the list of infoTypes.
@@ -1652,9 +1706,10 @@ message TimePartConfig {
// Pseudonymization method that generates surrogates via cryptographic hashing.
// Uses SHA-256.
// The key size must be either 32 or 64 bytes.
-// Outputs a 32 byte digest as an uppercase hex string
-// (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE).
+// Outputs a base64 encoded representation of the hashed output
+// (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
// Currently, only string and integer values can be hashed.
+// See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
message CryptoHashConfig {
// The key used by the hash function.
CryptoKey crypto_key = 1;
@@ -1933,6 +1988,17 @@ message UnwrappedCryptoKey {
bytes key = 1;
}
+// Parts of the APIs which use certain infoTypes.
+enum InfoTypeSupportedBy {
+ ENUM_TYPE_UNSPECIFIED = 0;
+
+ // Supported by the inspect operations.
+ INSPECT = 1;
+
+ // Supported by the risk analysis operations.
+ RISK_ANALYSIS = 2;
+}
+
// Include to use an existing data crypto key wrapped by KMS.
// Authorization requires the following IAM permissions when sending a request
// to perform a crypto transformation using a kms-wrapped crypto key:
@@ -2048,7 +2114,8 @@ message RecordSuppression {
message RecordCondition {
// The field type of `value` and `field` do not need to match to be
// considered equal, but not all comparisons are possible.
- //
+ // EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+ // but all other comparisons are invalid with incompatible types.
// A `value` of type:
//
// - `string` can be compared against all other types
@@ -2135,7 +2202,7 @@ message TransformationSummary {
ERROR = 2;
}
- // Set if the transformation was limited to a specific info_type.
+ // Set if the transformation was limited to a specific InfoType.
InfoType info_type = 1;
// Set if the transformation was limited to a specific FieldId.
@@ -2340,6 +2407,12 @@ message Action {
}
+ // Enable email notification to project owners and editors on jobs's
+ // completion/failure.
+ message JobNotificationEmails {
+
+ }
+
oneof action {
// Save resulting findings in a provided location.
SaveFindings save_findings = 1;
@@ -2349,6 +2422,10 @@ message Action {
// Publish summary to Cloud Security Command Center (Alpha).
PublishSummaryToCscc publish_summary_to_cscc = 3;
+
+ // Enable email notification to project owners and editors on job‘s
+ // completion/failure.
+ JobNotificationEmails job_notification_emails = 8;
}
}
@@ -2453,6 +2530,13 @@ message CreateJobTriggerRequest {
string trigger_id = 3;
}
+// Request message for ActivateJobTrigger.
+message ActivateJobTriggerRequest {
+ // Resource name of the trigger to activate, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1;
+}
+
// Request message for UpdateJobTrigger.
message UpdateJobTriggerRequest {
// Resource name of the project and the triggeredJob, for example
@@ -2518,10 +2602,37 @@ message ListJobTriggersRequest {
//
// - `create_time`: corresponds to time the JobTrigger was created.
// - `update_time`: corresponds to time the JobTrigger was last updated.
+ // - `last_run_time`: corresponds to the last time the JobTrigger ran.
// - `name`: corresponds to JobTrigger's name.
// - `display_name`: corresponds to JobTrigger's display name.
// - `status`: corresponds to JobTrigger's status.
string order_by = 4;
+
+ // Optional. Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of ` `.
+ // * Supported fields/values for inspect jobs:
+ // - `status` - HEALTHY|PAUSED|CANCELLED
+ // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ // quotation marks. Nanoseconds are ignored.
+ // - 'error_count' - Number of errors that have occurred while running.
+ // * The operator must be `=` or `!=` for status and inspected_storage.
+ //
+ // Examples:
+ //
+ // * inspected_storage = cloud_storage AND status = HEALTHY
+ // * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ // * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5;
}
// Response message for ListJobTriggers.
@@ -2619,6 +2730,32 @@ message GetDlpJobRequest {
string name = 1;
}
+// Operators available for comparing the value of fields.
+enum RelationalOperator {
+ RELATIONAL_OPERATOR_UNSPECIFIED = 0;
+
+ // Equal. Attempts to match even with incompatible types.
+ EQUAL_TO = 1;
+
+ // Not equal to. Attempts to match even with incompatible types.
+ NOT_EQUAL_TO = 2;
+
+ // Greater than.
+ GREATER_THAN = 3;
+
+ // Less than.
+ LESS_THAN = 4;
+
+ // Greater than or equals.
+ GREATER_THAN_OR_EQUALS = 5;
+
+ // Less than or equals.
+ LESS_THAN_OR_EQUALS = 6;
+
+ // Exists
+ EXISTS = 7;
+}
+
// The request message for listing DLP jobs.
message ListDlpJobsRequest {
// The parent resource name, for example projects/my-project-id.
@@ -2949,84 +3086,6 @@ message DeleteStoredInfoTypeRequest {
string name = 1;
}
-// Options describing which parts of the provided content should be scanned.
-enum ContentOption {
- // Includes entire content of a file or a data stream.
- CONTENT_UNSPECIFIED = 0;
-
- // Text content within the data, excluding any metadata.
- CONTENT_TEXT = 1;
-
- // Images found in the data.
- CONTENT_IMAGE = 2;
-}
-
-// Type of the match which can be applied to different ways of matching, like
-// Dictionary, regular expression and intersecting with findings of another
-// info type.
-enum MatchingType {
- // Invalid.
- MATCHING_TYPE_UNSPECIFIED = 0;
-
- // Full match.
- //
- // - Dictionary: join of Dictionary results matched complete finding quote
- // - Regex: all regex matches fill a finding quote start to end
- // - Exclude info type: completely inside affecting info types findings
- MATCHING_TYPE_FULL_MATCH = 1;
-
- // Partial match.
- //
- // - Dictionary: at least one of the tokens in the finding matches
- // - Regex: substring of the finding matches
- // - Exclude info type: intersects with affecting info types findings
- MATCHING_TYPE_PARTIAL_MATCH = 2;
-
- // Inverse match.
- //
- // - Dictionary: no tokens in the finding match the dictionary
- // - Regex: finding doesn't match the regex
- // - Exclude info type: no intersection with affecting info types findings
- MATCHING_TYPE_INVERSE_MATCH = 3;
-}
-
-// Parts of the APIs which use certain infoTypes.
-enum InfoTypeSupportedBy {
- ENUM_TYPE_UNSPECIFIED = 0;
-
- // Supported by the inspect operations.
- INSPECT = 1;
-
- // Supported by the risk analysis operations.
- RISK_ANALYSIS = 2;
-}
-
-// Operators available for comparing the value of fields.
-enum RelationalOperator {
- RELATIONAL_OPERATOR_UNSPECIFIED = 0;
-
- // Equal.
- EQUAL_TO = 1;
-
- // Not equal to.
- NOT_EQUAL_TO = 2;
-
- // Greater than.
- GREATER_THAN = 3;
-
- // Less than.
- LESS_THAN = 4;
-
- // Greater than or equals.
- GREATER_THAN_OR_EQUALS = 5;
-
- // Less than or equals.
- LESS_THAN_OR_EQUALS = 6;
-
- // Exists
- EXISTS = 7;
-}
-
// An enum to represent the various type of DLP jobs.
enum DlpJobType {
DLP_JOB_TYPE_UNSPECIFIED = 0;
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
index e7b540cbb861..9993c25fce9e 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
@@ -50,6 +50,26 @@ message StoredType {
google.protobuf.Timestamp create_time = 2;
}
+// Categorization of results based on how likely they are to represent a match,
+// based on the number of elements they contain which imply a match.
+enum Likelihood {
+ // Default value; same as POSSIBLE.
+ LIKELIHOOD_UNSPECIFIED = 0;
+
+ // Few matching elements.
+ VERY_UNLIKELY = 1;
+
+ UNLIKELY = 2;
+
+ // Some matching elements.
+ POSSIBLE = 3;
+
+ LIKELY = 4;
+
+ // Many matching elements.
+ VERY_LIKELY = 5;
+}
+
// Custom information type provided by the user. Used to find domain-specific
// sensitive information configurable to the data in question.
message CustomInfoType {
@@ -101,6 +121,10 @@ message CustomInfoType {
// (https://github.com/google/re2/wiki/Syntax) can be found under the
// google/re2 repository on GitHub.
string pattern = 1;
+
+ // The index of the submatch to extract as findings. When not
+ // specified, the entire match is returned. No more than 3 may be included.
+ repeated int32 group_indexes = 2;
}
// Message for detecting output from deidentification transformations
@@ -321,8 +345,15 @@ message CloudStorageOptions {
// Set of files to scan.
message FileSet {
// The Cloud Storage url of the file(s) to scan, in the format
- // `gs:///`. Trailing wildcard in the path is allowed. Exactly
- // one of `url` or `regex_file_set` must be set.
+ // `gs:///`. Trailing wildcard in the path is allowed.
+ //
+ // If the url ends in a trailing slash, the bucket or directory represented
+ // by the url will be scanned non-recursively (content in sub-directories
+ // will not be scanned). This means that `gs://mybucket/` is equivalent to
+ // `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ // `gs://mybucket/directory/*`.
+ //
+ // Exactly one of `url` or `regex_file_set` must be set.
string url = 1;
// The regex-filtered set of files to scan. Exactly one of `url` or
@@ -389,8 +420,8 @@ message CloudStoragePath {
// Options defining BigQuery table and row identifiers.
message BigQueryOptions {
// How to sample rows if not all rows are scanned. Meaningful only when used
- // in conjunction with rows_limit. If not specified, scanning would start
- // from the top.
+ // in conjunction with either rows_limit or rows_limit_percent. If not
+ // specified, scanning would start from the top.
enum SampleMethod {
SAMPLE_METHOD_UNSPECIFIED = 0;
@@ -472,6 +503,28 @@ message StorageConfig {
TimespanConfig timespan_config = 6;
}
+// Definitions of file type groups to scan.
+enum FileType {
+ // Includes all files.
+ FILE_TYPE_UNSPECIFIED = 0;
+
+ // Includes all file extensions not covered by text file types.
+ BINARY_FILE = 1;
+
+ // Included file extensions:
+ // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,
+ // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,
+ // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,
+ // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,
+ // xml, xsl, xsd, yml, yaml.
+ TEXT_FILE = 2;
+
+ // Included file extensions:
+ // bmp, gif, jpg, jpeg, jpe, png.
+ // bytes_limit_per_file has no effect on image files.
+ IMAGE = 3;
+}
+
// Row key for identifying a record in BigQuery table.
message BigQueryKey {
// Complete BigQuery table reference.
@@ -543,6 +596,10 @@ message RecordKey {
BigQueryKey big_query_key = 3;
}
+
+ // Values of identifying columns in the given row. Order of values matches
+ // the order of field identifiers specified in the scanning request.
+ repeated string id_values = 5;
}
// Message defining the location of a BigQuery table. A table is uniquely
@@ -580,40 +637,3 @@ message EntityId {
// Composite key indicating which field contains the entity identifier.
FieldId field = 1;
}
-
-// Categorization of results based on how likely they are to represent a match,
-// based on the number of elements they contain which imply a match.
-enum Likelihood {
- // Default value; same as POSSIBLE.
- LIKELIHOOD_UNSPECIFIED = 0;
-
- // Few matching elements.
- VERY_UNLIKELY = 1;
-
- UNLIKELY = 2;
-
- // Some matching elements.
- POSSIBLE = 3;
-
- LIKELY = 4;
-
- // Many matching elements.
- VERY_LIKELY = 5;
-}
-
-// Definitions of file type groups to scan.
-enum FileType {
- // Includes all files.
- FILE_TYPE_UNSPECIFIED = 0;
-
- // Includes all file extensions not covered by text file types.
- BINARY_FILE = 1;
-
- // Included file extensions:
- // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,
- // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,
- // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,
- // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,
- // xml, xsl, xsd, yml, yaml.
- TEXT_FILE = 2;
-}
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 531a22b6f4e7..3e029f0757d7 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-error-reporting-v1beta1
PROTO library for proto-google-cloud-error-reporting-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 cba8060e4ba5..1fb51de9ac19 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-firestore-v1
PROTO library for proto-google-cloud-firestore-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 6f362d2e5367..1fc41c7b2395 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-firestore-v1beta1
PROTO library for proto-google-cloud-firestore-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 4c85cf0f97fd..f66eea164194 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.1-alpha-SNAPSHOT
+ 0.8.0-alpha
proto-google-cloud-iamcredentials-v1
PROTO library for proto-google-cloud-iamcredentials-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 8562e7b359f5..c1212994ed13 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-iot-v1
PROTO library for proto-google-cloud-iot-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c5c2fbacb435..f3b5d8dd5459 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-kms-v1
PROTO library for proto-google-cloud-kms-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.0
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 2991620aafc0..a2f9179d1cd5 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
@@ -120,6 +120,17 @@ public enum AttestationFormat implements com.google.protobuf.ProtocolMessageEnum
* CAVIUM_V1_COMPRESSED = 3;
*/
CAVIUM_V1_COMPRESSED(3),
+ /**
+ *
+ *
+ *
+ * Cavium HSM attestation V2 compressed with gzip. This is a new format
+ * Introduced in Cavium's version 3.2-08
+ *
+ *
+ * CAVIUM_V2_COMPRESSED = 4;
+ */
+ CAVIUM_V2_COMPRESSED(4),
UNRECOGNIZED(-1),
;
@@ -136,6 +147,17 @@ public enum AttestationFormat implements com.google.protobuf.ProtocolMessageEnum
* CAVIUM_V1_COMPRESSED = 3;
*/
public static final int CAVIUM_V1_COMPRESSED_VALUE = 3;
+ /**
+ *
+ *
+ *
+ * Cavium HSM attestation V2 compressed with gzip. This is a new format
+ * Introduced in Cavium's version 3.2-08
+ *
+ *
+ * CAVIUM_V2_COMPRESSED = 4;
+ */
+ public static final int CAVIUM_V2_COMPRESSED_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -157,6 +179,8 @@ public static AttestationFormat forNumber(int value) {
return ATTESTATION_FORMAT_UNSPECIFIED;
case 3:
return CAVIUM_V1_COMPRESSED;
+ case 4:
+ return CAVIUM_V2_COMPRESSED;
default:
return null;
}
diff --git a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java
index f8dafcf0b5be..ba0aa7371c3d 100644
--- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java
+++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java
@@ -74,52 +74,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Template\022>\n\020protection_level\030\001 \001(\0162$.goo"
+ "gle.cloud.kms.v1.ProtectionLevel\022R\n\talgo"
+ "rithm\030\003 \001(\0162?.google.cloud.kms.v1.Crypto"
- + "KeyVersion.CryptoKeyVersionAlgorithm\"\315\001\n"
+ + "KeyVersion.CryptoKeyVersionAlgorithm\"\347\001\n"
+ "\027KeyOperationAttestation\022N\n\006format\030\004 \001(\016"
+ "2>.google.cloud.kms.v1.KeyOperationAttes"
+ "tation.AttestationFormat\022\017\n\007content\030\005 \001("
- + "\014\"Q\n\021AttestationFormat\022\"\n\036ATTESTATION_FO"
+ + "\014\"k\n\021AttestationFormat\022\"\n\036ATTESTATION_FO"
+ "RMAT_UNSPECIFIED\020\000\022\030\n\024CAVIUM_V1_COMPRESS"
- + "ED\020\003\"\270\t\n\020CryptoKeyVersion\022\014\n\004name\030\001 \001(\t\022"
- + "J\n\005state\030\003 \001(\0162;.google.cloud.kms.v1.Cry"
- + "ptoKeyVersion.CryptoKeyVersionState\022>\n\020p"
- + "rotection_level\030\007 \001(\0162$.google.cloud.kms"
- + ".v1.ProtectionLevel\022R\n\talgorithm\030\n \001(\0162?"
- + ".google.cloud.kms.v1.CryptoKeyVersion.Cr"
- + "yptoKeyVersionAlgorithm\022A\n\013attestation\030\010"
- + " \001(\0132,.google.cloud.kms.v1.KeyOperationA"
- + "ttestation\022/\n\013create_time\030\004 \001(\0132\032.google"
- + ".protobuf.Timestamp\0221\n\rgenerate_time\030\013 \001"
- + "(\0132\032.google.protobuf.Timestamp\0220\n\014destro"
- + "y_time\030\005 \001(\0132\032.google.protobuf.Timestamp"
- + "\0226\n\022destroy_event_time\030\006 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\"\274\003\n\031CryptoKeyVersionAlg"
- + "orithm\022,\n(CRYPTO_KEY_VERSION_ALGORITHM_U"
- + "NSPECIFIED\020\000\022\037\n\033GOOGLE_SYMMETRIC_ENCRYPT"
- + "ION\020\001\022\034\n\030RSA_SIGN_PSS_2048_SHA256\020\002\022\034\n\030R"
- + "SA_SIGN_PSS_3072_SHA256\020\003\022\034\n\030RSA_SIGN_PS"
- + "S_4096_SHA256\020\004\022\036\n\032RSA_SIGN_PKCS1_2048_S"
- + "HA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3072_SHA256\020\006\022"
- + "\036\n\032RSA_SIGN_PKCS1_4096_SHA256\020\007\022 \n\034RSA_D"
- + "ECRYPT_OAEP_2048_SHA256\020\010\022 \n\034RSA_DECRYPT"
- + "_OAEP_3072_SHA256\020\t\022 \n\034RSA_DECRYPT_OAEP_"
- + "4096_SHA256\020\n\022\027\n\023EC_SIGN_P256_SHA256\020\014\022\027"
- + "\n\023EC_SIGN_P384_SHA384\020\r\"\232\001\n\025CryptoKeyVer"
- + "sionState\022(\n$CRYPTO_KEY_VERSION_STATE_UN"
- + "SPECIFIED\020\000\022\026\n\022PENDING_GENERATION\020\005\022\013\n\007E"
- + "NABLED\020\001\022\014\n\010DISABLED\020\002\022\r\n\tDESTROYED\020\003\022\025\n"
- + "\021DESTROY_SCHEDULED\020\004\"I\n\024CryptoKeyVersion"
- + "View\022\'\n#CRYPTO_KEY_VERSION_VIEW_UNSPECIF"
- + "IED\020\000\022\010\n\004FULL\020\001\"l\n\tPublicKey\022\013\n\003pem\030\001 \001("
- + "\t\022R\n\talgorithm\030\002 \001(\0162?.google.cloud.kms."
- + "v1.CryptoKeyVersion.CryptoKeyVersionAlgo"
- + "rithm*J\n\017ProtectionLevel\022 \n\034PROTECTION_L"
- + "EVEL_UNSPECIFIED\020\000\022\014\n\010SOFTWARE\020\001\022\007\n\003HSM\020"
- + "\002B\225\001\n\027com.google.cloud.kms.v1B\021KmsResour"
- + "cesProtoP\001Z6google.golang.org/genproto/g"
- + "oogleapis/cloud/kms/v1;kms\370\001\001\252\002\023Google.C"
- + "loud.Kms.V1\312\002\023Google\\Cloud\\Kms\\V1b\006proto"
- + "3"
+ + "ED\020\003\022\030\n\024CAVIUM_V2_COMPRESSED\020\004\"\270\t\n\020Crypt"
+ + "oKeyVersion\022\014\n\004name\030\001 \001(\t\022J\n\005state\030\003 \001(\016"
+ + "2;.google.cloud.kms.v1.CryptoKeyVersion."
+ + "CryptoKeyVersionState\022>\n\020protection_leve"
+ + "l\030\007 \001(\0162$.google.cloud.kms.v1.Protection"
+ + "Level\022R\n\talgorithm\030\n \001(\0162?.google.cloud."
+ + "kms.v1.CryptoKeyVersion.CryptoKeyVersion"
+ + "Algorithm\022A\n\013attestation\030\010 \001(\0132,.google."
+ + "cloud.kms.v1.KeyOperationAttestation\022/\n\013"
+ + "create_time\030\004 \001(\0132\032.google.protobuf.Time"
+ + "stamp\0221\n\rgenerate_time\030\013 \001(\0132\032.google.pr"
+ + "otobuf.Timestamp\0220\n\014destroy_time\030\005 \001(\0132\032"
+ + ".google.protobuf.Timestamp\0226\n\022destroy_ev"
+ + "ent_time\030\006 \001(\0132\032.google.protobuf.Timesta"
+ + "mp\"\274\003\n\031CryptoKeyVersionAlgorithm\022,\n(CRYP"
+ + "TO_KEY_VERSION_ALGORITHM_UNSPECIFIED\020\000\022\037"
+ + "\n\033GOOGLE_SYMMETRIC_ENCRYPTION\020\001\022\034\n\030RSA_S"
+ + "IGN_PSS_2048_SHA256\020\002\022\034\n\030RSA_SIGN_PSS_30"
+ + "72_SHA256\020\003\022\034\n\030RSA_SIGN_PSS_4096_SHA256\020"
+ + "\004\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA"
+ + "_SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PK"
+ + "CS1_4096_SHA256\020\007\022 \n\034RSA_DECRYPT_OAEP_20"
+ + "48_SHA256\020\010\022 \n\034RSA_DECRYPT_OAEP_3072_SHA"
+ + "256\020\t\022 \n\034RSA_DECRYPT_OAEP_4096_SHA256\020\n\022"
+ + "\027\n\023EC_SIGN_P256_SHA256\020\014\022\027\n\023EC_SIGN_P384"
+ + "_SHA384\020\r\"\232\001\n\025CryptoKeyVersionState\022(\n$C"
+ + "RYPTO_KEY_VERSION_STATE_UNSPECIFIED\020\000\022\026\n"
+ + "\022PENDING_GENERATION\020\005\022\013\n\007ENABLED\020\001\022\014\n\010DI"
+ + "SABLED\020\002\022\r\n\tDESTROYED\020\003\022\025\n\021DESTROY_SCHED"
+ + "ULED\020\004\"I\n\024CryptoKeyVersionView\022\'\n#CRYPTO"
+ + "_KEY_VERSION_VIEW_UNSPECIFIED\020\000\022\010\n\004FULL\020"
+ + "\001\"l\n\tPublicKey\022\013\n\003pem\030\001 \001(\t\022R\n\talgorithm"
+ + "\030\002 \001(\0162?.google.cloud.kms.v1.CryptoKeyVe"
+ + "rsion.CryptoKeyVersionAlgorithm*J\n\017Prote"
+ + "ctionLevel\022 \n\034PROTECTION_LEVEL_UNSPECIFI"
+ + "ED\020\000\022\014\n\010SOFTWARE\020\001\022\007\n\003HSM\020\002B\225\001\n\027com.goog"
+ + "le.cloud.kms.v1B\021KmsResourcesProtoP\001Z6go"
+ + "ogle.golang.org/genproto/googleapis/clou"
+ + "d/kms/v1;kms\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023"
+ + "Google\\Cloud\\Kms\\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-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto b/google-api-grpc/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto
index 0bd39ef2678c..f85b618e732f 100644
--- a/google-api-grpc/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto
+++ b/google-api-grpc/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto
@@ -157,6 +157,10 @@ message KeyOperationAttestation {
// Cavium HSM attestation compressed with gzip. Note that this format is
// defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;
+
+ // Cavium HSM attestation V2 compressed with gzip. This is a new format
+ // Introduced in Cavium's version 3.2-08
+ CAVIUM_V2_COMPRESSED = 4;
}
// Output only. The format of the attestation data.
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 5639d79a7709..865e6dcc18c1 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.1-SNAPSHOT
+ 1.45.0
proto-google-cloud-language-v1
PROTO library for proto-google-cloud-language-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 8342be86c5bb..a8a438855b80 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-language-v1beta2
PROTO library for proto-google-cloud-language-v1beta2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 1fc74a167227..ac49735d94df 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-logging-v2
PROTO library for proto-google-cloud-logging-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 a5e3fc19308b..4fbf48c8b3c2 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.1-SNAPSHOT
+ 1.45.0
proto-google-cloud-monitoring-v3
PROTO library for proto-google-cloud-monitoring-v3
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 d6b2abf662f0..413dc3fe3c7d 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-os-login-v1
PROTO library for proto-google-cloud-os-login-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 a0510c1e3122..8d032dd4ac70 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.1-SNAPSHOT
+ 1.45.0
proto-google-cloud-pubsub-v1
PROTO library for proto-google-cloud-pubsub-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 9c0205cbbf40..bea34da28877 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-redis-v1
PROTO library for proto-google-cloud-redis-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 c0ed1e639188..f0d6e2f21204 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-redis-v1beta1
PROTO library for proto-google-cloud-redis-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 34d139203298..c7e654c3da8d 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-scheduler-v1beta1
PROTO library for proto-google-cloud-redis-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 f9af4481df88..44e46ac9085c 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-securitycenter-v1beta1
PROTO library for proto-google-cloud-securitycenter-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 74edd647afdf..1b1d722cb1ca 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.1-SNAPSHOT
+ 1.8.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.45.1-SNAPSHOT
+ 0.46.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 f67b0eb0cff4..dbd2e497a589 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.1-SNAPSHOT
+ 1.8.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.45.1-SNAPSHOT
+ 0.46.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 fde9fc93cd9e..1f5f5e2dff44 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.1-SNAPSHOT
+ 1.8.0
proto-google-cloud-spanner-v1
PROTO library for proto-google-cloud-spanner-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.0
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
new file mode 100644
index 000000000000..5832f27b8f19
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
@@ -0,0 +1,3128 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/spanner/v1/spanner.proto
+
+package com.google.spanner.v1;
+
+/**
+ *
+ *
+ *
+ * The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest}
+ */
+public final class ExecuteBatchDmlRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest)
+ ExecuteBatchDmlRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ExecuteBatchDmlRequest.newBuilder() to construct.
+ private ExecuteBatchDmlRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ExecuteBatchDmlRequest() {
+ session_ = "";
+ statements_ = java.util.Collections.emptyList();
+ seqno_ = 0L;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ExecuteBatchDmlRequest(
+ 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();
+
+ session_ = s;
+ break;
+ }
+ case 18:
+ {
+ com.google.spanner.v1.TransactionSelector.Builder subBuilder = null;
+ if (transaction_ != null) {
+ subBuilder = transaction_.toBuilder();
+ }
+ transaction_ =
+ input.readMessage(
+ com.google.spanner.v1.TransactionSelector.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(transaction_);
+ transaction_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26:
+ {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ statements_ =
+ new java.util.ArrayList<
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement>();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ statements_.add(
+ input.readMessage(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(),
+ extensionRegistry));
+ break;
+ }
+ case 32:
+ {
+ seqno_ = input.readInt64();
+ 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)) {
+ statements_ = java.util.Collections.unmodifiableList(statements_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.class,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class);
+ }
+
+ public interface StatementOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ java.lang.String getSql();
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ com.google.protobuf.ByteString getSqlBytes();
+
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ boolean hasParams();
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ com.google.protobuf.Struct getParams();
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ com.google.protobuf.StructOrBuilder getParamsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ int getParamTypesCount();
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ boolean containsParamTypes(java.lang.String key);
+ /** Use {@link #getParamTypesMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map getParamTypes();
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ java.util.Map getParamTypesMap();
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ com.google.spanner.v1.Type getParamTypesOrDefault(
+ java.lang.String key, com.google.spanner.v1.Type defaultValue);
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+ }
+ /**
+ *
+ *
+ *
+ * A single DML statement.
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement}
+ */
+ public static final class Statement extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
+ StatementOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Statement.newBuilder() to construct.
+ private Statement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Statement() {
+ sql_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private Statement(
+ 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();
+
+ sql_ = s;
+ break;
+ }
+ case 18:
+ {
+ com.google.protobuf.Struct.Builder subBuilder = null;
+ if (params_ != null) {
+ subBuilder = params_.toBuilder();
+ }
+ params_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(params_);
+ params_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26:
+ {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ paramTypes_ =
+ com.google.protobuf.MapField.newMapField(
+ ParamTypesDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000004;
+ }
+ com.google.protobuf.MapEntry
+ paramTypes__ =
+ input.readMessage(
+ ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ paramTypes_.getMutableMap().put(paramTypes__.getKey(), paramTypes__.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.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 3:
+ return internalGetParamTypes();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int SQL_FIELD_NUMBER = 1;
+ private volatile java.lang.Object sql_;
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public java.lang.String getSql() {
+ java.lang.Object ref = sql_;
+ 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();
+ sql_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public com.google.protobuf.ByteString getSqlBytes() {
+ java.lang.Object ref = sql_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sql_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PARAMS_FIELD_NUMBER = 2;
+ private com.google.protobuf.Struct params_;
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public boolean hasParams() {
+ return params_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public com.google.protobuf.Struct getParams() {
+ return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
+ return getParams();
+ }
+
+ public static final int PARAM_TYPES_FIELD_NUMBER = 3;
+
+ private static final class ParamTypesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.google.spanner.v1.Type.getDefaultInstance());
+ }
+
+ private com.google.protobuf.MapField paramTypes_;
+
+ private com.google.protobuf.MapField
+ internalGetParamTypes() {
+ if (paramTypes_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ParamTypesDefaultEntryHolder.defaultEntry);
+ }
+ return paramTypes_;
+ }
+
+ public int getParamTypesCount() {
+ return internalGetParamTypes().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public boolean containsParamTypes(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParamTypes().getMap().containsKey(key);
+ }
+ /** Use {@link #getParamTypesMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map getParamTypes() {
+ return getParamTypesMap();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public java.util.Map getParamTypesMap() {
+ return internalGetParamTypes().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public com.google.spanner.v1.Type getParamTypesOrDefault(
+ java.lang.String key, com.google.spanner.v1.Type defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map =
+ internalGetParamTypes().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map =
+ internalGetParamTypes().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 (!getSqlBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sql_);
+ }
+ if (params_ != null) {
+ output.writeMessage(2, getParams());
+ }
+ com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 3);
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getSqlBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sql_);
+ }
+ if (params_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParams());
+ }
+ for (java.util.Map.Entry entry :
+ internalGetParamTypes().getMap().entrySet()) {
+ com.google.protobuf.MapEntry paramTypes__ =
+ ParamTypesDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, paramTypes__);
+ }
+ 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.spanner.v1.ExecuteBatchDmlRequest.Statement)) {
+ return super.equals(obj);
+ }
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other =
+ (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
+
+ boolean result = true;
+ result = result && getSql().equals(other.getSql());
+ result = result && (hasParams() == other.hasParams());
+ if (hasParams()) {
+ result = result && getParams().equals(other.getParams());
+ }
+ result = result && internalGetParamTypes().equals(other.internalGetParamTypes());
+ 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) + SQL_FIELD_NUMBER;
+ hash = (53 * hash) + getSql().hashCode();
+ if (hasParams()) {
+ hash = (37 * hash) + PARAMS_FIELD_NUMBER;
+ hash = (53 * hash) + getParams().hashCode();
+ }
+ if (!internalGetParamTypes().getMap().isEmpty()) {
+ hash = (37 * hash) + PARAM_TYPES_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetParamTypes().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement 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.spanner.v1.ExecuteBatchDmlRequest.Statement 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 single DML statement.
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
+ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 3:
+ return internalGetParamTypes();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+ switch (number) {
+ case 3:
+ return internalGetMutableParamTypes();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class);
+ }
+
+ // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.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();
+ sql_ = "";
+
+ if (paramsBuilder_ == null) {
+ params_ = null;
+ } else {
+ params_ = null;
+ paramsBuilder_ = null;
+ }
+ internalGetMutableParamTypes().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstanceForType() {
+ return com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement build() {
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement buildPartial() {
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result =
+ new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ result.sql_ = sql_;
+ if (paramsBuilder_ == null) {
+ result.params_ = params_;
+ } else {
+ result.params_ = paramsBuilder_.build();
+ }
+ result.paramTypes_ = internalGetParamTypes();
+ result.paramTypes_.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.spanner.v1.ExecuteBatchDmlRequest.Statement) {
+ return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other) {
+ if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance())
+ return this;
+ if (!other.getSql().isEmpty()) {
+ sql_ = other.sql_;
+ onChanged();
+ }
+ if (other.hasParams()) {
+ mergeParams(other.getParams());
+ }
+ internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
+ 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.spanner.v1.ExecuteBatchDmlRequest.Statement parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object sql_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public java.lang.String getSql() {
+ java.lang.Object ref = sql_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sql_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public com.google.protobuf.ByteString getSqlBytes() {
+ java.lang.Object ref = sql_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ sql_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public Builder setSql(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sql_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public Builder clearSql() {
+
+ sql_ = getDefaultInstance().getSql();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The DML string.
+ *
+ *
+ * string sql = 1;
+ */
+ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sql_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Struct params_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ paramsBuilder_;
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public boolean hasParams() {
+ return paramsBuilder_ != null || params_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public com.google.protobuf.Struct getParams() {
+ if (paramsBuilder_ == null) {
+ return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+ } else {
+ return paramsBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public Builder setParams(com.google.protobuf.Struct value) {
+ if (paramsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ params_ = value;
+ onChanged();
+ } else {
+ paramsBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+ if (paramsBuilder_ == null) {
+ params_ = builderForValue.build();
+ onChanged();
+ } else {
+ paramsBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public Builder mergeParams(com.google.protobuf.Struct value) {
+ if (paramsBuilder_ == null) {
+ if (params_ != null) {
+ params_ =
+ com.google.protobuf.Struct.newBuilder(params_).mergeFrom(value).buildPartial();
+ } else {
+ params_ = value;
+ }
+ onChanged();
+ } else {
+ paramsBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public Builder clearParams() {
+ if (paramsBuilder_ == null) {
+ params_ = null;
+ onChanged();
+ } else {
+ params_ = null;
+ paramsBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public com.google.protobuf.Struct.Builder getParamsBuilder() {
+
+ onChanged();
+ return getParamsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
+ if (paramsBuilder_ != null) {
+ return paramsBuilder_.getMessageOrBuilder();
+ } else {
+ return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The DML string can contain parameter placeholders. A parameter
+ * placeholder consists of `'@'` followed by the parameter
+ * name. Parameter names consist of any combination of letters,
+ * numbers, and underscores.
+ * Parameters can appear anywhere that a literal value is expected. The
+ * same parameter name can be used more than once, for example:
+ * `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ * It is an error to execute an SQL statement with unbound parameters.
+ * Parameter values are specified using `params`, which is a JSON
+ * object whose keys are parameter names, and whose values are the
+ * corresponding parameter values.
+ *
+ *
+ * .google.protobuf.Struct params = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>
+ getParamsFieldBuilder() {
+ if (paramsBuilder_ == null) {
+ paramsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Struct,
+ com.google.protobuf.Struct.Builder,
+ com.google.protobuf.StructOrBuilder>(
+ getParams(), getParentForChildren(), isClean());
+ params_ = null;
+ }
+ return paramsBuilder_;
+ }
+
+ private com.google.protobuf.MapField
+ paramTypes_;
+
+ private com.google.protobuf.MapField
+ internalGetParamTypes() {
+ if (paramTypes_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ ParamTypesDefaultEntryHolder.defaultEntry);
+ }
+ return paramTypes_;
+ }
+
+ private com.google.protobuf.MapField
+ internalGetMutableParamTypes() {
+ onChanged();
+ ;
+ if (paramTypes_ == null) {
+ paramTypes_ =
+ com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+ }
+ if (!paramTypes_.isMutable()) {
+ paramTypes_ = paramTypes_.copy();
+ }
+ return paramTypes_;
+ }
+
+ public int getParamTypesCount() {
+ return internalGetParamTypes().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public boolean containsParamTypes(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetParamTypes().getMap().containsKey(key);
+ }
+ /** Use {@link #getParamTypesMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map getParamTypes() {
+ return getParamTypesMap();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public java.util.Map getParamTypesMap() {
+ return internalGetParamTypes().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public com.google.spanner.v1.Type getParamTypesOrDefault(
+ java.lang.String key, com.google.spanner.v1.Type defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map =
+ internalGetParamTypes().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map =
+ internalGetParamTypes().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public Builder clearParamTypes() {
+ internalGetMutableParamTypes().getMutableMap().clear();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public Builder removeParamTypes(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParamTypes().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map getMutableParamTypes() {
+ return internalGetMutableParamTypes().getMutableMap();
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableParamTypes().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * It is not always possible for Cloud Spanner to infer the right SQL type
+ * from a JSON value. For example, values of type `BYTES` and values
+ * of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ * In these cases, `param_types` can be used to specify the exact
+ * SQL type for some or all of the SQL statement parameters. See the
+ * definition of [Type][google.spanner.v1.Type] for more information
+ * about SQL types.
+ *
+ *
+ * map<string, .google.spanner.v1.Type> param_types = 3;
+ */
+ public Builder putAllParamTypes(
+ java.util.Map values) {
+ internalGetMutableParamTypes().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.spanner.v1.ExecuteBatchDmlRequest.Statement)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
+ private static final com.google.spanner.v1.ExecuteBatchDmlRequest.Statement DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement();
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Statement parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Statement(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.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ private int bitField0_;
+ public static final int SESSION_FIELD_NUMBER = 1;
+ private volatile java.lang.Object session_;
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public java.lang.String getSession() {
+ java.lang.Object ref = session_;
+ 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();
+ session_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public com.google.protobuf.ByteString getSessionBytes() {
+ java.lang.Object ref = session_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ session_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TRANSACTION_FIELD_NUMBER = 2;
+ private com.google.spanner.v1.TransactionSelector transaction_;
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public boolean hasTransaction() {
+ return transaction_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public com.google.spanner.v1.TransactionSelector getTransaction() {
+ return transaction_ == null
+ ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+ : transaction_;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
+ return getTransaction();
+ }
+
+ public static final int STATEMENTS_FIELD_NUMBER = 3;
+ private java.util.List statements_;
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public java.util.List
+ getStatementsList() {
+ return statements_;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public java.util.List extends com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>
+ getStatementsOrBuilderList() {
+ return statements_;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public int getStatementsCount() {
+ return statements_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) {
+ return statements_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(
+ int index) {
+ return statements_.get(index);
+ }
+
+ public static final int SEQNO_FIELD_NUMBER = 4;
+ private long seqno_;
+ /**
+ *
+ *
+ *
+ * A per-transaction sequence number used to identify this request. This is
+ * used in the same space as the seqno in
+ * [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ * in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ *
+ *
+ * int64 seqno = 4;
+ */
+ public long getSeqno() {
+ return seqno_;
+ }
+
+ 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 (!getSessionBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_);
+ }
+ if (transaction_ != null) {
+ output.writeMessage(2, getTransaction());
+ }
+ for (int i = 0; i < statements_.size(); i++) {
+ output.writeMessage(3, statements_.get(i));
+ }
+ if (seqno_ != 0L) {
+ output.writeInt64(4, seqno_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getSessionBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_);
+ }
+ if (transaction_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction());
+ }
+ for (int i = 0; i < statements_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, statements_.get(i));
+ }
+ if (seqno_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, seqno_);
+ }
+ 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.spanner.v1.ExecuteBatchDmlRequest)) {
+ return super.equals(obj);
+ }
+ com.google.spanner.v1.ExecuteBatchDmlRequest other =
+ (com.google.spanner.v1.ExecuteBatchDmlRequest) obj;
+
+ boolean result = true;
+ result = result && getSession().equals(other.getSession());
+ result = result && (hasTransaction() == other.hasTransaction());
+ if (hasTransaction()) {
+ result = result && getTransaction().equals(other.getTransaction());
+ }
+ result = result && getStatementsList().equals(other.getStatementsList());
+ result = result && (getSeqno() == other.getSeqno());
+ 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) + SESSION_FIELD_NUMBER;
+ hash = (53 * hash) + getSession().hashCode();
+ if (hasTransaction()) {
+ hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
+ hash = (53 * hash) + getTransaction().hashCode();
+ }
+ if (getStatementsCount() > 0) {
+ hash = (37 * hash) + STATEMENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getStatementsList().hashCode();
+ }
+ hash = (37 * hash) + SEQNO_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest)
+ com.google.spanner.v1.ExecuteBatchDmlRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.class,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class);
+ }
+
+ // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getStatementsFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ session_ = "";
+
+ if (transactionBuilder_ == null) {
+ transaction_ = null;
+ } else {
+ transaction_ = null;
+ transactionBuilder_ = null;
+ }
+ if (statementsBuilder_ == null) {
+ statements_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ statementsBuilder_.clear();
+ }
+ seqno_ = 0L;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstanceForType() {
+ return com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest build() {
+ com.google.spanner.v1.ExecuteBatchDmlRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() {
+ com.google.spanner.v1.ExecuteBatchDmlRequest result =
+ new com.google.spanner.v1.ExecuteBatchDmlRequest(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ result.session_ = session_;
+ if (transactionBuilder_ == null) {
+ result.transaction_ = transaction_;
+ } else {
+ result.transaction_ = transactionBuilder_.build();
+ }
+ if (statementsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ statements_ = java.util.Collections.unmodifiableList(statements_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.statements_ = statements_;
+ } else {
+ result.statements_ = statementsBuilder_.build();
+ }
+ result.seqno_ = seqno_;
+ 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.spanner.v1.ExecuteBatchDmlRequest) {
+ return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) {
+ if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()) return this;
+ if (!other.getSession().isEmpty()) {
+ session_ = other.session_;
+ onChanged();
+ }
+ if (other.hasTransaction()) {
+ mergeTransaction(other.getTransaction());
+ }
+ if (statementsBuilder_ == null) {
+ if (!other.statements_.isEmpty()) {
+ if (statements_.isEmpty()) {
+ statements_ = other.statements_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureStatementsIsMutable();
+ statements_.addAll(other.statements_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.statements_.isEmpty()) {
+ if (statementsBuilder_.isEmpty()) {
+ statementsBuilder_.dispose();
+ statementsBuilder_ = null;
+ statements_ = other.statements_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ statementsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getStatementsFieldBuilder()
+ : null;
+ } else {
+ statementsBuilder_.addAllMessages(other.statements_);
+ }
+ }
+ }
+ if (other.getSeqno() != 0L) {
+ setSeqno(other.getSeqno());
+ }
+ 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.spanner.v1.ExecuteBatchDmlRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.spanner.v1.ExecuteBatchDmlRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object session_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public java.lang.String getSession() {
+ java.lang.Object ref = session_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ session_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public com.google.protobuf.ByteString getSessionBytes() {
+ java.lang.Object ref = session_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ session_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public Builder setSession(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ session_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public Builder clearSession() {
+
+ session_ = getDefaultInstance().getSession();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ public Builder setSessionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ session_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.spanner.v1.TransactionSelector transaction_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.spanner.v1.TransactionSelector,
+ com.google.spanner.v1.TransactionSelector.Builder,
+ com.google.spanner.v1.TransactionSelectorOrBuilder>
+ transactionBuilder_;
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public boolean hasTransaction() {
+ return transactionBuilder_ != null || transaction_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public com.google.spanner.v1.TransactionSelector getTransaction() {
+ if (transactionBuilder_ == null) {
+ return transaction_ == null
+ ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+ : transaction_;
+ } else {
+ return transactionBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
+ if (transactionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ transaction_ = value;
+ onChanged();
+ } else {
+ transactionBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public Builder setTransaction(
+ com.google.spanner.v1.TransactionSelector.Builder builderForValue) {
+ if (transactionBuilder_ == null) {
+ transaction_ = builderForValue.build();
+ onChanged();
+ } else {
+ transactionBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
+ if (transactionBuilder_ == null) {
+ if (transaction_ != null) {
+ transaction_ =
+ com.google.spanner.v1.TransactionSelector.newBuilder(transaction_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ transaction_ = value;
+ }
+ onChanged();
+ } else {
+ transactionBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public Builder clearTransaction() {
+ if (transactionBuilder_ == null) {
+ transaction_ = null;
+ onChanged();
+ } else {
+ transaction_ = null;
+ transactionBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() {
+
+ onChanged();
+ return getTransactionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
+ if (transactionBuilder_ != null) {
+ return transactionBuilder_.getMessageOrBuilder();
+ } else {
+ return transaction_ == null
+ ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+ : transaction_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.spanner.v1.TransactionSelector,
+ com.google.spanner.v1.TransactionSelector.Builder,
+ com.google.spanner.v1.TransactionSelectorOrBuilder>
+ getTransactionFieldBuilder() {
+ if (transactionBuilder_ == null) {
+ transactionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.spanner.v1.TransactionSelector,
+ com.google.spanner.v1.TransactionSelector.Builder,
+ com.google.spanner.v1.TransactionSelectorOrBuilder>(
+ getTransaction(), getParentForChildren(), isClean());
+ transaction_ = null;
+ }
+ return transactionBuilder_;
+ }
+
+ private java.util.List statements_ =
+ java.util.Collections.emptyList();
+
+ private void ensureStatementsIsMutable() {
+ if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ statements_ =
+ new java.util.ArrayList(
+ statements_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>
+ statementsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public java.util.List
+ getStatementsList() {
+ if (statementsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(statements_);
+ } else {
+ return statementsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public int getStatementsCount() {
+ if (statementsBuilder_ == null) {
+ return statements_.size();
+ } else {
+ return statementsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) {
+ if (statementsBuilder_ == null) {
+ return statements_.get(index);
+ } else {
+ return statementsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder setStatements(
+ int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) {
+ if (statementsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStatementsIsMutable();
+ statements_.set(index, value);
+ onChanged();
+ } else {
+ statementsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder setStatements(
+ int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) {
+ if (statementsBuilder_ == null) {
+ ensureStatementsIsMutable();
+ statements_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ statementsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) {
+ if (statementsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStatementsIsMutable();
+ statements_.add(value);
+ onChanged();
+ } else {
+ statementsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder addStatements(
+ int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) {
+ if (statementsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureStatementsIsMutable();
+ statements_.add(index, value);
+ onChanged();
+ } else {
+ statementsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder addStatements(
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) {
+ if (statementsBuilder_ == null) {
+ ensureStatementsIsMutable();
+ statements_.add(builderForValue.build());
+ onChanged();
+ } else {
+ statementsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder addStatements(
+ int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) {
+ if (statementsBuilder_ == null) {
+ ensureStatementsIsMutable();
+ statements_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ statementsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder addAllStatements(
+ java.lang.Iterable extends com.google.spanner.v1.ExecuteBatchDmlRequest.Statement>
+ values) {
+ if (statementsBuilder_ == null) {
+ ensureStatementsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_);
+ onChanged();
+ } else {
+ statementsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder clearStatements() {
+ if (statementsBuilder_ == null) {
+ statements_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ statementsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public Builder removeStatements(int index) {
+ if (statementsBuilder_ == null) {
+ ensureStatementsIsMutable();
+ statements_.remove(index);
+ onChanged();
+ } else {
+ statementsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStatementsBuilder(
+ int index) {
+ return getStatementsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(
+ int index) {
+ if (statementsBuilder_ == null) {
+ return statements_.get(index);
+ } else {
+ return statementsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public java.util.List extends com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>
+ getStatementsOrBuilderList() {
+ if (statementsBuilder_ != null) {
+ return statementsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(statements_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder() {
+ return getStatementsFieldBuilder()
+ .addBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder(
+ int index) {
+ return getStatementsFieldBuilder()
+ .addBuilder(
+ index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ public java.util.List
+ getStatementsBuilderList() {
+ return getStatementsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>
+ getStatementsFieldBuilder() {
+ if (statementsBuilder_ == null) {
+ statementsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder,
+ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>(
+ statements_,
+ ((bitField0_ & 0x00000004) == 0x00000004),
+ getParentForChildren(),
+ isClean());
+ statements_ = null;
+ }
+ return statementsBuilder_;
+ }
+
+ private long seqno_;
+ /**
+ *
+ *
+ *
+ * A per-transaction sequence number used to identify this request. This is
+ * used in the same space as the seqno in
+ * [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ * in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ *
+ *
+ * int64 seqno = 4;
+ */
+ public long getSeqno() {
+ return seqno_;
+ }
+ /**
+ *
+ *
+ *
+ * A per-transaction sequence number used to identify this request. This is
+ * used in the same space as the seqno in
+ * [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ * in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ *
+ *
+ * int64 seqno = 4;
+ */
+ public Builder setSeqno(long value) {
+
+ seqno_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A per-transaction sequence number used to identify this request. This is
+ * used in the same space as the seqno in
+ * [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ * in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ *
+ *
+ * int64 seqno = 4;
+ */
+ public Builder clearSeqno() {
+
+ seqno_ = 0L;
+ 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.spanner.v1.ExecuteBatchDmlRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest)
+ private static final com.google.spanner.v1.ExecuteBatchDmlRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest();
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ExecuteBatchDmlRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ExecuteBatchDmlRequest(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.spanner.v1.ExecuteBatchDmlRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java
new file mode 100644
index 000000000000..248a0b3f2916
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java
@@ -0,0 +1,154 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/spanner/v1/spanner.proto
+
+package com.google.spanner.v1;
+
+public interface ExecuteBatchDmlRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ java.lang.String getSession();
+ /**
+ *
+ *
+ *
+ * Required. The session in which the DML statements should be performed.
+ *
+ *
+ * string session = 1;
+ */
+ com.google.protobuf.ByteString getSessionBytes();
+
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ boolean hasTransaction();
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ com.google.spanner.v1.TransactionSelector getTransaction();
+ /**
+ *
+ *
+ *
+ * The transaction to use. A ReadWrite transaction is required. Single-use
+ * transactions are not supported (to avoid replay). The caller must either
+ * supply an existing transaction ID or begin a new transaction.
+ *
+ *
+ * .google.spanner.v1.TransactionSelector transaction = 2;
+ */
+ com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ java.util.List getStatementsList();
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index);
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ int getStatementsCount();
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ java.util.List extends com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>
+ getStatementsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * The list of statements to execute in this batch. Statements are executed
+ * serially, such that the effects of statement i are visible to statement
+ * i+1. Each statement must be a DML statement. Execution will stop at the
+ * first failed statement; the remaining statements will not run.
+ * REQUIRES: statements_size() > 0.
+ *
+ *
+ * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3;
+ */
+ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * A per-transaction sequence number used to identify this request. This is
+ * used in the same space as the seqno in
+ * [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ * in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ *
+ *
+ * int64 seqno = 4;
+ */
+ long getSeqno();
+}
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java
new file mode 100644
index 000000000000..b639f98a5a1e
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java
@@ -0,0 +1,1333 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/spanner/v1/spanner.proto
+
+package com.google.spanner.v1;
+
+/**
+ *
+ *
+ *
+ * The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
+ * of [ResultSet][google.spanner.v1.ResultSet], one for each DML statement that has successfully executed.
+ * If a statement fails, the error is returned as part of the response payload.
+ * Clients can determine whether all DML statements have run successfully, or if
+ * a statement failed, using one of the following approaches:
+ * 1. Check if 'status' field is OkStatus.
+ * 2. Check if result_sets_size() equals the number of statements in
+ * [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest].
+ * Example 1: A request with 5 DML statements, all executed successfully.
+ * Result: A response with 5 ResultSets, one for each statement in the same
+ * order, and an OK status.
+ * Example 2: A request with 5 DML statements. The 3rd statement has a syntax
+ * error.
+ * Result: A response with 2 ResultSets, for the first 2 statements that
+ * run successfully, and a syntax error (INVALID_ARGUMENT) status. From
+ * result_set_size() client can determine that the 3rd statement has failed.
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
+ */
+public final class ExecuteBatchDmlResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlResponse)
+ ExecuteBatchDmlResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ExecuteBatchDmlResponse.newBuilder() to construct.
+ private ExecuteBatchDmlResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ExecuteBatchDmlResponse() {
+ resultSets_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ExecuteBatchDmlResponse(
+ 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)) {
+ resultSets_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ resultSets_.add(
+ input.readMessage(com.google.spanner.v1.ResultSet.parser(), extensionRegistry));
+ break;
+ }
+ case 18:
+ {
+ com.google.rpc.Status.Builder subBuilder = null;
+ if (status_ != null) {
+ subBuilder = status_.toBuilder();
+ }
+ status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(status_);
+ status_ = 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)) {
+ resultSets_ = java.util.Collections.unmodifiableList(resultSets_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlResponse.class,
+ com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int RESULT_SETS_FIELD_NUMBER = 1;
+ private java.util.List resultSets_;
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public java.util.List getResultSetsList() {
+ return resultSets_;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public java.util.List extends com.google.spanner.v1.ResultSetOrBuilder>
+ getResultSetsOrBuilderList() {
+ return resultSets_;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public int getResultSetsCount() {
+ return resultSets_.size();
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSet getResultSets(int index) {
+ return resultSets_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+ return resultSets_.get(index);
+ }
+
+ public static final int STATUS_FIELD_NUMBER = 2;
+ private com.google.rpc.Status status_;
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public boolean hasStatus() {
+ return status_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public com.google.rpc.Status getStatus() {
+ return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
+ return getStatus();
+ }
+
+ 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 < resultSets_.size(); i++) {
+ output.writeMessage(1, resultSets_.get(i));
+ }
+ if (status_ != null) {
+ output.writeMessage(2, getStatus());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < resultSets_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resultSets_.get(i));
+ }
+ if (status_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+ }
+ 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.spanner.v1.ExecuteBatchDmlResponse)) {
+ return super.equals(obj);
+ }
+ com.google.spanner.v1.ExecuteBatchDmlResponse other =
+ (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
+
+ boolean result = true;
+ result = result && getResultSetsList().equals(other.getResultSetsList());
+ result = result && (hasStatus() == other.hasStatus());
+ if (hasStatus()) {
+ result = result && getStatus().equals(other.getStatus());
+ }
+ 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 (getResultSetsCount() > 0) {
+ hash = (37 * hash) + RESULT_SETS_FIELD_NUMBER;
+ hash = (53 * hash) + getResultSetsList().hashCode();
+ }
+ if (hasStatus()) {
+ hash = (37 * hash) + STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getStatus().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
+ * of [ResultSet][google.spanner.v1.ResultSet], one for each DML statement that has successfully executed.
+ * If a statement fails, the error is returned as part of the response payload.
+ * Clients can determine whether all DML statements have run successfully, or if
+ * a statement failed, using one of the following approaches:
+ * 1. Check if 'status' field is OkStatus.
+ * 2. Check if result_sets_size() equals the number of statements in
+ * [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest].
+ * Example 1: A request with 5 DML statements, all executed successfully.
+ * Result: A response with 5 ResultSets, one for each statement in the same
+ * order, and an OK status.
+ * Example 2: A request with 5 DML statements. The 3rd statement has a syntax
+ * error.
+ * Result: A response with 2 ResultSets, for the first 2 statements that
+ * run successfully, and a syntax error (INVALID_ARGUMENT) status. From
+ * result_set_size() client can determine that the 3rd statement has failed.
+ *
+ *
+ * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlResponse)
+ com.google.spanner.v1.ExecuteBatchDmlResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.spanner.v1.ExecuteBatchDmlResponse.class,
+ com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+ }
+
+ // Construct using com.google.spanner.v1.ExecuteBatchDmlResponse.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getResultSetsFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ if (resultSetsBuilder_ == null) {
+ resultSets_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ resultSetsBuilder_.clear();
+ }
+ if (statusBuilder_ == null) {
+ status_ = null;
+ } else {
+ status_ = null;
+ statusBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.spanner.v1.SpannerProto
+ .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstanceForType() {
+ return com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlResponse build() {
+ com.google.spanner.v1.ExecuteBatchDmlResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
+ com.google.spanner.v1.ExecuteBatchDmlResponse result =
+ new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (resultSetsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ resultSets_ = java.util.Collections.unmodifiableList(resultSets_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.resultSets_ = resultSets_;
+ } else {
+ result.resultSets_ = resultSetsBuilder_.build();
+ }
+ if (statusBuilder_ == null) {
+ result.status_ = status_;
+ } else {
+ result.status_ = statusBuilder_.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.spanner.v1.ExecuteBatchDmlResponse) {
+ return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlResponse other) {
+ if (other == com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()) return this;
+ if (resultSetsBuilder_ == null) {
+ if (!other.resultSets_.isEmpty()) {
+ if (resultSets_.isEmpty()) {
+ resultSets_ = other.resultSets_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureResultSetsIsMutable();
+ resultSets_.addAll(other.resultSets_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.resultSets_.isEmpty()) {
+ if (resultSetsBuilder_.isEmpty()) {
+ resultSetsBuilder_.dispose();
+ resultSetsBuilder_ = null;
+ resultSets_ = other.resultSets_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ resultSetsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getResultSetsFieldBuilder()
+ : null;
+ } else {
+ resultSetsBuilder_.addAllMessages(other.resultSets_);
+ }
+ }
+ }
+ if (other.hasStatus()) {
+ mergeStatus(other.getStatus());
+ }
+ 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.spanner.v1.ExecuteBatchDmlResponse parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.spanner.v1.ExecuteBatchDmlResponse) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List resultSets_ =
+ java.util.Collections.emptyList();
+
+ private void ensureResultSetsIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ resultSets_ = new java.util.ArrayList(resultSets_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ResultSet,
+ com.google.spanner.v1.ResultSet.Builder,
+ com.google.spanner.v1.ResultSetOrBuilder>
+ resultSetsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public java.util.List getResultSetsList() {
+ if (resultSetsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(resultSets_);
+ } else {
+ return resultSetsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public int getResultSetsCount() {
+ if (resultSetsBuilder_ == null) {
+ return resultSets_.size();
+ } else {
+ return resultSetsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSet getResultSets(int index) {
+ if (resultSetsBuilder_ == null) {
+ return resultSets_.get(index);
+ } else {
+ return resultSetsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
+ if (resultSetsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultSetsIsMutable();
+ resultSets_.set(index, value);
+ onChanged();
+ } else {
+ resultSetsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder setResultSets(
+ int index, com.google.spanner.v1.ResultSet.Builder builderForValue) {
+ if (resultSetsBuilder_ == null) {
+ ensureResultSetsIsMutable();
+ resultSets_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultSetsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
+ if (resultSetsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultSetsIsMutable();
+ resultSets_.add(value);
+ onChanged();
+ } else {
+ resultSetsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
+ if (resultSetsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultSetsIsMutable();
+ resultSets_.add(index, value);
+ onChanged();
+ } else {
+ resultSetsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForValue) {
+ if (resultSetsBuilder_ == null) {
+ ensureResultSetsIsMutable();
+ resultSets_.add(builderForValue.build());
+ onChanged();
+ } else {
+ resultSetsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder addResultSets(
+ int index, com.google.spanner.v1.ResultSet.Builder builderForValue) {
+ if (resultSetsBuilder_ == null) {
+ ensureResultSetsIsMutable();
+ resultSets_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultSetsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder addAllResultSets(
+ java.lang.Iterable extends com.google.spanner.v1.ResultSet> values) {
+ if (resultSetsBuilder_ == null) {
+ ensureResultSetsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resultSets_);
+ onChanged();
+ } else {
+ resultSetsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder clearResultSets() {
+ if (resultSetsBuilder_ == null) {
+ resultSets_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ resultSetsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public Builder removeResultSets(int index) {
+ if (resultSetsBuilder_ == null) {
+ ensureResultSetsIsMutable();
+ resultSets_.remove(index);
+ onChanged();
+ } else {
+ resultSetsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
+ return getResultSetsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+ if (resultSetsBuilder_ == null) {
+ return resultSets_.get(index);
+ } else {
+ return resultSetsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public java.util.List extends com.google.spanner.v1.ResultSetOrBuilder>
+ getResultSetsOrBuilderList() {
+ if (resultSetsBuilder_ != null) {
+ return resultSetsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(resultSets_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
+ return getResultSetsFieldBuilder()
+ .addBuilder(com.google.spanner.v1.ResultSet.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
+ return getResultSetsFieldBuilder()
+ .addBuilder(index, com.google.spanner.v1.ResultSet.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ public java.util.List getResultSetsBuilderList() {
+ return getResultSetsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ResultSet,
+ com.google.spanner.v1.ResultSet.Builder,
+ com.google.spanner.v1.ResultSetOrBuilder>
+ getResultSetsFieldBuilder() {
+ if (resultSetsBuilder_ == null) {
+ resultSetsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.spanner.v1.ResultSet,
+ com.google.spanner.v1.ResultSet.Builder,
+ com.google.spanner.v1.ResultSetOrBuilder>(
+ resultSets_,
+ ((bitField0_ & 0x00000001) == 0x00000001),
+ getParentForChildren(),
+ isClean());
+ resultSets_ = null;
+ }
+ return resultSetsBuilder_;
+ }
+
+ private com.google.rpc.Status status_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+ statusBuilder_;
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public boolean hasStatus() {
+ return statusBuilder_ != null || status_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public com.google.rpc.Status getStatus() {
+ if (statusBuilder_ == null) {
+ return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+ } else {
+ return statusBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public Builder setStatus(com.google.rpc.Status value) {
+ if (statusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ statusBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+ if (statusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ statusBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public Builder mergeStatus(com.google.rpc.Status value) {
+ if (statusBuilder_ == null) {
+ if (status_ != null) {
+ status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ statusBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public Builder clearStatus() {
+ if (statusBuilder_ == null) {
+ status_ = null;
+ onChanged();
+ } else {
+ status_ = null;
+ statusBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public com.google.rpc.Status.Builder getStatusBuilder() {
+
+ onChanged();
+ return getStatusFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
+ if (statusBuilder_ != null) {
+ return statusBuilder_.getMessageOrBuilder();
+ } else {
+ return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+ getStatusFieldBuilder() {
+ if (statusBuilder_ == null) {
+ statusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.rpc.Status,
+ com.google.rpc.Status.Builder,
+ com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+ status_ = null;
+ }
+ return statusBuilder_;
+ }
+
+ @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.spanner.v1.ExecuteBatchDmlResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlResponse)
+ private static final com.google.spanner.v1.ExecuteBatchDmlResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlResponse();
+ }
+
+ public static com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ExecuteBatchDmlResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ExecuteBatchDmlResponse(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.spanner.v1.ExecuteBatchDmlResponse getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
new file mode 100644
index 000000000000..70ee20ca9fa5
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
@@ -0,0 +1,120 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/spanner/v1/spanner.proto
+
+package com.google.spanner.v1;
+
+public interface ExecuteBatchDmlResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ java.util.List getResultSetsList();
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ com.google.spanner.v1.ResultSet getResultSets(int index);
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ int getResultSetsCount();
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ java.util.List extends com.google.spanner.v1.ResultSetOrBuilder> getResultSetsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * ResultSets, one for each statement in the request that ran successfully, in
+ * the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ * not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ * contain the number of rows modified by the statement.
+ * Only the first ResultSet in the response contains a valid
+ * [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ *
+ *
+ * repeated .google.spanner.v1.ResultSet result_sets = 1;
+ */
+ com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ boolean hasStatus();
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ com.google.rpc.Status getStatus();
+ /**
+ *
+ *
+ *
+ * If all DML statements are executed successfully, status will be OK.
+ * Otherwise, the error status of the first failed statement.
+ *
+ *
+ * .google.rpc.Status status = 2;
+ */
+ com.google.rpc.StatusOrBuilder getStatusOrBuilder();
+}
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java
index 36e6dd6a9095..b20abf2efdf4 100644
--- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java
@@ -48,6 +48,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_spanner_v1_PartitionOptions_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -105,135 +121,154 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.spanner.v1\032\034google/api/annotations.pro"
+ "to\032\033google/protobuf/empty.proto\032\034google/"
+ "protobuf/struct.proto\032\037google/protobuf/t"
- + "imestamp.proto\032\034google/spanner/v1/keys.p"
- + "roto\032 google/spanner/v1/mutation.proto\032\""
- + "google/spanner/v1/result_set.proto\032#goog"
- + "le/spanner/v1/transaction.proto\032\034google/"
- + "spanner/v1/type.proto\"U\n\024CreateSessionRe"
- + "quest\022\020\n\010database\030\001 \001(\t\022+\n\007session\030\002 \001(\013"
- + "2\032.google.spanner.v1.Session\"\356\001\n\007Session"
- + "\022\014\n\004name\030\001 \001(\t\0226\n\006labels\030\002 \003(\0132&.google."
- + "spanner.v1.Session.LabelsEntry\022/\n\013create"
- + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\022"
- + "=\n\031approximate_last_use_time\030\004 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\032-\n\013LabelsEntry\022\013\n"
- + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\021GetSess"
- + "ionRequest\022\014\n\004name\030\001 \001(\t\"^\n\023ListSessions"
- + "Request\022\020\n\010database\030\001 \001(\t\022\021\n\tpage_size\030\002"
- + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t"
- + "\"]\n\024ListSessionsResponse\022,\n\010sessions\030\001 \003"
- + "(\0132\032.google.spanner.v1.Session\022\027\n\017next_p"
- + "age_token\030\002 \001(\t\"$\n\024DeleteSessionRequest\022"
- + "\014\n\004name\030\001 \001(\t\"\340\003\n\021ExecuteSqlRequest\022\017\n\007s"
- + "ession\030\001 \001(\t\022;\n\013transaction\030\002 \001(\0132&.goog"
- + "le.spanner.v1.TransactionSelector\022\013\n\003sql"
- + "\030\003 \001(\t\022\'\n\006params\030\004 \001(\0132\027.google.protobuf"
- + ".Struct\022I\n\013param_types\030\005 \003(\01324.google.sp"
- + "anner.v1.ExecuteSqlRequest.ParamTypesEnt"
- + "ry\022\024\n\014resume_token\030\006 \001(\014\022B\n\nquery_mode\030\007"
- + " \001(\0162..google.spanner.v1.ExecuteSqlReque"
- + "st.QueryMode\022\027\n\017partition_token\030\010 \001(\014\022\r\n"
- + "\005seqno\030\t \001(\003\032J\n\017ParamTypesEntry\022\013\n\003key\030\001"
- + " \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1."
- + "Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLA"
- + "N\020\001\022\013\n\007PROFILE\020\002\"H\n\020PartitionOptions\022\034\n\024"
- + "partition_size_bytes\030\001 \001(\003\022\026\n\016max_partit"
- + "ions\030\002 \001(\003\"\366\002\n\025PartitionQueryRequest\022\017\n\007"
- + "session\030\001 \001(\t\022;\n\013transaction\030\002 \001(\0132&.goo"
- + "gle.spanner.v1.TransactionSelector\022\013\n\003sq"
- + "l\030\003 \001(\t\022\'\n\006params\030\004 \001(\0132\027.google.protobu"
- + "f.Struct\022M\n\013param_types\030\005 \003(\01328.google.s"
- + "panner.v1.PartitionQueryRequest.ParamTyp"
- + "esEntry\022>\n\021partition_options\030\006 \001(\0132#.goo"
- + "gle.spanner.v1.PartitionOptions\032J\n\017Param"
- + "TypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027"
- + ".google.spanner.v1.Type:\0028\001\"\377\001\n\024Partitio"
- + "nReadRequest\022\017\n\007session\030\001 \001(\t\022;\n\013transac"
- + "tion\030\002 \001(\0132&.google.spanner.v1.Transacti"
- + "onSelector\022\r\n\005table\030\003 \001(\t\022\r\n\005index\030\004 \001(\t"
- + "\022\017\n\007columns\030\005 \003(\t\022*\n\007key_set\030\006 \001(\0132\031.goo"
- + "gle.spanner.v1.KeySet\022>\n\021partition_optio"
- + "ns\030\t \001(\0132#.google.spanner.v1.PartitionOp"
- + "tions\"$\n\tPartition\022\027\n\017partition_token\030\001 "
- + "\001(\014\"z\n\021PartitionResponse\0220\n\npartitions\030\001"
- + " \003(\0132\034.google.spanner.v1.Partition\0223\n\013tr"
- + "ansaction\030\002 \001(\0132\036.google.spanner.v1.Tran"
- + "saction\"\364\001\n\013ReadRequest\022\017\n\007session\030\001 \001(\t"
- + "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v"
- + "1.TransactionSelector\022\r\n\005table\030\003 \001(\t\022\r\n\005"
- + "index\030\004 \001(\t\022\017\n\007columns\030\005 \003(\t\022*\n\007key_set\030"
- + "\006 \001(\0132\031.google.spanner.v1.KeySet\022\r\n\005limi"
- + "t\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017partiti"
- + "on_token\030\n \001(\014\"b\n\027BeginTransactionReques"
- + "t\022\017\n\007session\030\001 \001(\t\0226\n\007options\030\002 \001(\0132%.go"
- + "ogle.spanner.v1.TransactionOptions\"\302\001\n\rC"
- + "ommitRequest\022\017\n\007session\030\001 \001(\t\022\030\n\016transac"
- + "tion_id\030\002 \001(\014H\000\022G\n\026single_use_transactio"
- + "n\030\003 \001(\0132%.google.spanner.v1.TransactionO"
- + "ptionsH\000\022.\n\tmutations\030\004 \003(\0132\033.google.spa"
- + "nner.v1.MutationB\r\n\013transaction\"F\n\016Commi"
- + "tResponse\0224\n\020commit_timestamp\030\001 \001(\0132\032.go"
- + "ogle.protobuf.Timestamp\":\n\017RollbackReque"
- + "st\022\017\n\007session\030\001 \001(\t\022\026\n\016transaction_id\030\002 "
- + "\001(\0142\203\021\n\007Spanner\022\233\001\n\rCreateSession\022\'.goog"
- + "le.spanner.v1.CreateSessionRequest\032\032.goo"
- + "gle.spanner.v1.Session\"E\202\323\344\223\002?\":/v1/{dat"
- + "abase=projects/*/instances/*/databases/*"
- + "}/sessions:\001*\022\220\001\n\nGetSession\022$.google.sp"
- + "anner.v1.GetSessionRequest\032\032.google.span"
- + "ner.v1.Session\"@\202\323\344\223\002:\0228/v1/{name=projec"
- + "ts/*/instances/*/databases/*/sessions/*}"
- + "\022\243\001\n\014ListSessions\022&.google.spanner.v1.Li"
- + "stSessionsRequest\032\'.google.spanner.v1.Li"
- + "stSessionsResponse\"B\202\323\344\223\002<\022:/v1/{databas"
- + "e=projects/*/instances/*/databases/*}/se"
- + "ssions\022\222\001\n\rDeleteSession\022\'.google.spanne"
- + "r.v1.DeleteSessionRequest\032\026.google.proto"
- + "buf.Empty\"@\202\323\344\223\002:*8/v1/{name=projects/*/"
- + "instances/*/databases/*/sessions/*}\022\243\001\n\n"
- + "ExecuteSql\022$.google.spanner.v1.ExecuteSq"
- + "lRequest\032\034.google.spanner.v1.ResultSet\"Q"
- + "\202\323\344\223\002K\"F/v1/{session=projects/*/instance"
- + "s/*/databases/*/sessions/*}:executeSql:\001"
- + "*\022\276\001\n\023ExecuteStreamingSql\022$.google.spann"
- + "er.v1.ExecuteSqlRequest\032#.google.spanner"
- + ".v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/{sessi"
- + "on=projects/*/instances/*/databases/*/se"
- + "ssions/*}:executeStreamingSql:\001*0\001\022\221\001\n\004R"
- + "ead\022\036.google.spanner.v1.ReadRequest\032\034.go"
- + "ogle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/{"
- + "session=projects/*/instances/*/databases"
- + "/*/sessions/*}:read:\001*\022\254\001\n\rStreamingRead"
- + "\022\036.google.spanner.v1.ReadRequest\032#.googl"
- + "e.spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I/"
- + "v1/{session=projects/*/instances/*/datab"
- + "ases/*/sessions/*}:streamingRead:\001*0\001\022\267\001"
- + "\n\020BeginTransaction\022*.google.spanner.v1.B"
- + "eginTransactionRequest\032\036.google.spanner."
- + "v1.Transaction\"W\202\323\344\223\002Q\"L/v1/{session=pro"
- + "jects/*/instances/*/databases/*/sessions"
- + "/*}:beginTransaction:\001*\022\234\001\n\006Commit\022 .goo"
- + "gle.spanner.v1.CommitRequest\032!.google.sp"
- + "anner.v1.CommitResponse\"M\202\323\344\223\002G\"B/v1/{se"
- + "ssion=projects/*/instances/*/databases/*"
- + "/sessions/*}:commit:\001*\022\227\001\n\010Rollback\022\".go"
- + "ogle.spanner.v1.RollbackRequest\032\026.google"
- + ".protobuf.Empty\"O\202\323\344\223\002I\"D/v1/{session=pr"
+ + "imestamp.proto\032\027google/rpc/status.proto\032"
+ + "\034google/spanner/v1/keys.proto\032 google/sp"
+ + "anner/v1/mutation.proto\032\"google/spanner/"
+ + "v1/result_set.proto\032#google/spanner/v1/t"
+ + "ransaction.proto\032\034google/spanner/v1/type"
+ + ".proto\"U\n\024CreateSessionRequest\022\020\n\010databa"
+ + "se\030\001 \001(\t\022+\n\007session\030\002 \001(\0132\032.google.spann"
+ + "er.v1.Session\"\356\001\n\007Session\022\014\n\004name\030\001 \001(\t\022"
+ + "6\n\006labels\030\002 \003(\0132&.google.spanner.v1.Sess"
+ + "ion.LabelsEntry\022/\n\013create_time\030\003 \001(\0132\032.g"
+ + "oogle.protobuf.Timestamp\022=\n\031approximate_"
+ + "last_use_time\030\004 \001(\0132\032.google.protobuf.Ti"
+ + "mestamp\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
+ + "alue\030\002 \001(\t:\0028\001\"!\n\021GetSessionRequest\022\014\n\004n"
+ + "ame\030\001 \001(\t\"^\n\023ListSessionsRequest\022\020\n\010data"
+ + "base\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
+ + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"]\n\024ListSession"
+ + "sResponse\022,\n\010sessions\030\001 \003(\0132\032.google.spa"
+ + "nner.v1.Session\022\027\n\017next_page_token\030\002 \001(\t"
+ + "\"$\n\024DeleteSessionRequest\022\014\n\004name\030\001 \001(\t\"\340"
+ + "\003\n\021ExecuteSqlRequest\022\017\n\007session\030\001 \001(\t\022;\n"
+ + "\013transaction\030\002 \001(\0132&.google.spanner.v1.T"
+ + "ransactionSelector\022\013\n\003sql\030\003 \001(\t\022\'\n\006param"
+ + "s\030\004 \001(\0132\027.google.protobuf.Struct\022I\n\013para"
+ + "m_types\030\005 \003(\01324.google.spanner.v1.Execut"
+ + "eSqlRequest.ParamTypesEntry\022\024\n\014resume_to"
+ + "ken\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..google.s"
+ + "panner.v1.ExecuteSqlRequest.QueryMode\022\027\n"
+ + "\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t \001(\003\032J\n"
+ + "\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002"
+ + " \001(\0132\027.google.spanner.v1.Type:\0028\001\".\n\tQue"
+ + "ryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n\007PROFILE\020"
+ + "\002\"\250\003\n\026ExecuteBatchDmlRequest\022\017\n\007session\030"
+ + "\001 \001(\t\022;\n\013transaction\030\002 \001(\0132&.google.span"
+ + "ner.v1.TransactionSelector\022G\n\nstatements"
+ + "\030\003 \003(\01323.google.spanner.v1.ExecuteBatchD"
+ + "mlRequest.Statement\022\r\n\005seqno\030\004 \001(\003\032\347\001\n\tS"
+ + "tatement\022\013\n\003sql\030\001 \001(\t\022\'\n\006params\030\002 \001(\0132\027."
+ + "google.protobuf.Struct\022X\n\013param_types\030\003 "
+ + "\003(\0132C.google.spanner.v1.ExecuteBatchDmlR"
+ + "equest.Statement.ParamTypesEntry\032J\n\017Para"
+ + "mTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132"
+ + "\027.google.spanner.v1.Type:\0028\001\"p\n\027ExecuteB"
+ + "atchDmlResponse\0221\n\013result_sets\030\001 \003(\0132\034.g"
+ + "oogle.spanner.v1.ResultSet\022\"\n\006status\030\002 \001"
+ + "(\0132\022.google.rpc.Status\"H\n\020PartitionOptio"
+ + "ns\022\034\n\024partition_size_bytes\030\001 \001(\003\022\026\n\016max_"
+ + "partitions\030\002 \001(\003\"\366\002\n\025PartitionQueryReque"
+ + "st\022\017\n\007session\030\001 \001(\t\022;\n\013transaction\030\002 \001(\013"
+ + "2&.google.spanner.v1.TransactionSelector"
+ + "\022\013\n\003sql\030\003 \001(\t\022\'\n\006params\030\004 \001(\0132\027.google.p"
+ + "rotobuf.Struct\022M\n\013param_types\030\005 \003(\01328.go"
+ + "ogle.spanner.v1.PartitionQueryRequest.Pa"
+ + "ramTypesEntry\022>\n\021partition_options\030\006 \001(\013"
+ + "2#.google.spanner.v1.PartitionOptions\032J\n"
+ + "\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002"
+ + " \001(\0132\027.google.spanner.v1.Type:\0028\001\"\377\001\n\024Pa"
+ + "rtitionReadRequest\022\017\n\007session\030\001 \001(\t\022;\n\013t"
+ + "ransaction\030\002 \001(\0132&.google.spanner.v1.Tra"
+ + "nsactionSelector\022\r\n\005table\030\003 \001(\t\022\r\n\005index"
+ + "\030\004 \001(\t\022\017\n\007columns\030\005 \003(\t\022*\n\007key_set\030\006 \001(\013"
+ + "2\031.google.spanner.v1.KeySet\022>\n\021partition"
+ + "_options\030\t \001(\0132#.google.spanner.v1.Parti"
+ + "tionOptions\"$\n\tPartition\022\027\n\017partition_to"
+ + "ken\030\001 \001(\014\"z\n\021PartitionResponse\0220\n\npartit"
+ + "ions\030\001 \003(\0132\034.google.spanner.v1.Partition"
+ + "\0223\n\013transaction\030\002 \001(\0132\036.google.spanner.v"
+ + "1.Transaction\"\364\001\n\013ReadRequest\022\017\n\007session"
+ + "\030\001 \001(\t\022;\n\013transaction\030\002 \001(\0132&.google.spa"
+ + "nner.v1.TransactionSelector\022\r\n\005table\030\003 \001"
+ + "(\t\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003(\t\022*\n\007ke"
+ + "y_set\030\006 \001(\0132\031.google.spanner.v1.KeySet\022\r"
+ + "\n\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017p"
+ + "artition_token\030\n \001(\014\"b\n\027BeginTransaction"
+ + "Request\022\017\n\007session\030\001 \001(\t\0226\n\007options\030\002 \001("
+ + "\0132%.google.spanner.v1.TransactionOptions"
+ + "\"\302\001\n\rCommitRequest\022\017\n\007session\030\001 \001(\t\022\030\n\016t"
+ + "ransaction_id\030\002 \001(\014H\000\022G\n\026single_use_tran"
+ + "saction\030\003 \001(\0132%.google.spanner.v1.Transa"
+ + "ctionOptionsH\000\022.\n\tmutations\030\004 \003(\0132\033.goog"
+ + "le.spanner.v1.MutationB\r\n\013transaction\"F\n"
+ + "\016CommitResponse\0224\n\020commit_timestamp\030\001 \001("
+ + "\0132\032.google.protobuf.Timestamp\":\n\017Rollbac"
+ + "kRequest\022\017\n\007session\030\001 \001(\t\022\026\n\016transaction"
+ + "_id\030\002 \001(\0142\306\022\n\007Spanner\022\233\001\n\rCreateSession\022"
+ + "\'.google.spanner.v1.CreateSessionRequest"
+ + "\032\032.google.spanner.v1.Session\"E\202\323\344\223\002?\":/v"
+ + "1/{database=projects/*/instances/*/datab"
+ + "ases/*}/sessions:\001*\022\220\001\n\nGetSession\022$.goo"
+ + "gle.spanner.v1.GetSessionRequest\032\032.googl"
+ + "e.spanner.v1.Session\"@\202\323\344\223\002:\0228/v1/{name="
+ + "projects/*/instances/*/databases/*/sessi"
+ + "ons/*}\022\243\001\n\014ListSessions\022&.google.spanner"
+ + ".v1.ListSessionsRequest\032\'.google.spanner"
+ + ".v1.ListSessionsResponse\"B\202\323\344\223\002<\022:/v1/{d"
+ + "atabase=projects/*/instances/*/databases"
+ + "/*}/sessions\022\222\001\n\rDeleteSession\022\'.google."
+ + "spanner.v1.DeleteSessionRequest\032\026.google"
+ + ".protobuf.Empty\"@\202\323\344\223\002:*8/v1/{name=proje"
+ + "cts/*/instances/*/databases/*/sessions/*"
+ + "}\022\243\001\n\nExecuteSql\022$.google.spanner.v1.Exe"
+ + "cuteSqlRequest\032\034.google.spanner.v1.Resul"
+ + "tSet\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/in"
+ + "stances/*/databases/*/sessions/*}:execut"
+ + "eSql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.google"
+ + ".spanner.v1.ExecuteSqlRequest\032#.google.s"
+ + "panner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/"
+ + "{session=projects/*/instances/*/database"
+ + "s/*/sessions/*}:executeStreamingSql:\001*0\001"
+ + "\022\300\001\n\017ExecuteBatchDml\022).google.spanner.v1"
+ + ".ExecuteBatchDmlRequest\032*.google.spanner"
+ + ".v1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v1"
+ + "/{session=projects/*/instances/*/databas"
+ + "es/*/sessions/*}:executeBatchDml:\001*\022\221\001\n\004"
+ + "Read\022\036.google.spanner.v1.ReadRequest\032\034.g"
+ + "oogle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/"
+ + "{session=projects/*/instances/*/database"
+ + "s/*/sessions/*}:read:\001*\022\254\001\n\rStreamingRea"
+ + "d\022\036.google.spanner.v1.ReadRequest\032#.goog"
+ + "le.spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I"
+ + "/v1/{session=projects/*/instances/*/data"
+ + "bases/*/sessions/*}:streamingRead:\001*0\001\022\267"
+ + "\001\n\020BeginTransaction\022*.google.spanner.v1."
+ + "BeginTransactionRequest\032\036.google.spanner"
+ + ".v1.Transaction\"W\202\323\344\223\002Q\"L/v1/{session=pr"
+ "ojects/*/instances/*/databases/*/session"
- + "s/*}:rollback:\001*\022\267\001\n\016PartitionQuery\022(.go"
- + "ogle.spanner.v1.PartitionQueryRequest\032$."
- + "google.spanner.v1.PartitionResponse\"U\202\323\344"
- + "\223\002O\"J/v1/{session=projects/*/instances/*"
- + "/databases/*/sessions/*}:partitionQuery:"
- + "\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v1"
- + ".PartitionReadRequest\032$.google.spanner.v"
- + "1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessio"
- + "n=projects/*/instances/*/databases/*/ses"
- + "sions/*}:partitionRead:\001*B\225\001\n\025com.google"
- + ".spanner.v1B\014SpannerProtoP\001Z8google.gola"
- + "ng.org/genproto/googleapis/spanner/v1;sp"
- + "anner\252\002\027Google.Cloud.Spanner.V1\312\002\027Google"
- + "\\Cloud\\Spanner\\V1b\006proto3"
+ + "s/*}:beginTransaction:\001*\022\234\001\n\006Commit\022 .go"
+ + "ogle.spanner.v1.CommitRequest\032!.google.s"
+ + "panner.v1.CommitResponse\"M\202\323\344\223\002G\"B/v1/{s"
+ + "ession=projects/*/instances/*/databases/"
+ + "*/sessions/*}:commit:\001*\022\227\001\n\010Rollback\022\".g"
+ + "oogle.spanner.v1.RollbackRequest\032\026.googl"
+ + "e.protobuf.Empty\"O\202\323\344\223\002I\"D/v1/{session=p"
+ + "rojects/*/instances/*/databases/*/sessio"
+ + "ns/*}:rollback:\001*\022\267\001\n\016PartitionQuery\022(.g"
+ + "oogle.spanner.v1.PartitionQueryRequest\032$"
+ + ".google.spanner.v1.PartitionResponse\"U\202\323"
+ + "\344\223\002O\"J/v1/{session=projects/*/instances/"
+ + "*/databases/*/sessions/*}:partitionQuery"
+ + ":\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v"
+ + "1.PartitionReadRequest\032$.google.spanner."
+ + "v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessi"
+ + "on=projects/*/instances/*/databases/*/se"
+ + "ssions/*}:partitionRead:\001*B\225\001\n\025com.googl"
+ + "e.spanner.v1B\014SpannerProtoP\001Z8google.gol"
+ + "ang.org/genproto/googleapis/spanner/v1;s"
+ + "panner\252\002\027Google.Cloud.Spanner.V1\312\002\027Googl"
+ + "e\\Cloud\\Spanner\\V1b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -250,6 +285,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
com.google.spanner.v1.KeysProto.getDescriptor(),
com.google.spanner.v1.MutationProto.getDescriptor(),
com.google.spanner.v1.ResultSetProto.getDescriptor(),
@@ -336,8 +372,42 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Key", "Value",
});
- internal_static_google_spanner_v1_PartitionOptions_descriptor =
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor,
+ new java.lang.String[] {
+ "Session", "Transaction", "Statements", "Seqno",
+ });
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor =
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor.getNestedTypes().get(0);
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor,
+ new java.lang.String[] {
+ "Sql", "Params", "ParamTypes",
+ });
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor =
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
+ });
+ internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor,
+ new java.lang.String[] {
+ "ResultSets", "Status",
+ });
+ internal_static_google_spanner_v1_PartitionOptions_descriptor =
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_PartitionOptions_descriptor,
@@ -345,7 +415,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"PartitionSizeBytes", "MaxPartitions",
});
internal_static_google_spanner_v1_PartitionQueryRequest_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_PartitionQueryRequest_descriptor,
@@ -361,7 +431,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Key", "Value",
});
internal_static_google_spanner_v1_PartitionReadRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_PartitionReadRequest_descriptor,
@@ -369,7 +439,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Session", "Transaction", "Table", "Index", "Columns", "KeySet", "PartitionOptions",
});
internal_static_google_spanner_v1_Partition_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_spanner_v1_Partition_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_Partition_descriptor,
@@ -377,7 +447,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"PartitionToken",
});
internal_static_google_spanner_v1_PartitionResponse_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_PartitionResponse_descriptor,
@@ -385,7 +455,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Partitions", "Transaction",
});
internal_static_google_spanner_v1_ReadRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_ReadRequest_descriptor,
@@ -401,7 +471,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"PartitionToken",
});
internal_static_google_spanner_v1_BeginTransactionRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_BeginTransactionRequest_descriptor,
@@ -409,7 +479,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Session", "Options",
});
internal_static_google_spanner_v1_CommitRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_CommitRequest_descriptor,
@@ -417,7 +487,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"Session", "TransactionId", "SingleUseTransaction", "Mutations", "Transaction",
});
internal_static_google_spanner_v1_CommitResponse_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_CommitResponse_descriptor,
@@ -425,7 +495,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"CommitTimestamp",
});
internal_static_google_spanner_v1_RollbackRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_spanner_v1_RollbackRequest_descriptor,
@@ -441,6 +511,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
+ com.google.rpc.StatusProto.getDescriptor();
com.google.spanner.v1.KeysProto.getDescriptor();
com.google.spanner.v1.MutationProto.getDescriptor();
com.google.spanner.v1.ResultSetProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto
index 7d3de6ad771e..60fcfdc448c1 100644
--- a/google-api-grpc/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto
+++ b/google-api-grpc/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.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/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
import "google/spanner/v1/keys.proto";
import "google/spanner/v1/mutation.proto";
import "google/spanner/v1/result_set.proto";
@@ -81,7 +83,9 @@ service Spanner {
};
}
- // Ends a session, releasing server resources associated with it.
+ // Ends a session, releasing server resources associated with it. This will
+ // asynchronously trigger cancellation of any operations that are running with
+ // this session.
rpc DeleteSession(DeleteSessionRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1/{name=projects/*/instances/*/databases/*/sessions/*}"
@@ -118,6 +122,32 @@ service Spanner {
};
}
+ // Executes a batch of SQL DML statements. This method allows many statements
+ // to be run with lower latency than submitting them sequentially with
+ // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
+ //
+ // Statements are executed in order, sequentially.
+ // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse] will contain a
+ // [ResultSet][google.spanner.v1.ResultSet] for each DML statement that has successfully executed. If a
+ // statement fails, its error status will be returned as part of the
+ // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse]. Execution will
+ // stop at the first failed statement; the remaining statements will not run.
+ //
+ // ExecuteBatchDml is expected to return an OK status with a response even if
+ // there was an error while processing one of the DML statements. Clients must
+ // inspect response.status to determine if there were any errors while
+ // processing the request.
+ //
+ // See more details in
+ // [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest] and
+ // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse].
+ rpc ExecuteBatchDml(ExecuteBatchDmlRequest) returns (ExecuteBatchDmlResponse) {
+ option (google.api.http) = {
+ post: "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeBatchDml"
+ body: "*"
+ };
+ }
+
// Reads rows from the database using key lookups and scans, as a
// simple key/value style alternative to
// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method cannot be used to
@@ -410,6 +440,97 @@ message ExecuteSqlRequest {
int64 seqno = 9;
}
+// The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]
+message ExecuteBatchDmlRequest {
+ // A single DML statement.
+ message Statement {
+ // Required. The DML string.
+ string sql = 1;
+
+ // The DML string can contain parameter placeholders. A parameter
+ // placeholder consists of `'@'` followed by the parameter
+ // name. Parameter names consist of any combination of letters,
+ // numbers, and underscores.
+ //
+ // Parameters can appear anywhere that a literal value is expected. The
+ // same parameter name can be used more than once, for example:
+ // `"WHERE id > @msg_id AND id < @msg_id + 100"`
+ //
+ // It is an error to execute an SQL statement with unbound parameters.
+ //
+ // Parameter values are specified using `params`, which is a JSON
+ // object whose keys are parameter names, and whose values are the
+ // corresponding parameter values.
+ google.protobuf.Struct params = 2;
+
+ // It is not always possible for Cloud Spanner to infer the right SQL type
+ // from a JSON value. For example, values of type `BYTES` and values
+ // of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
+ //
+ // In these cases, `param_types` can be used to specify the exact
+ // SQL type for some or all of the SQL statement parameters. See the
+ // definition of [Type][google.spanner.v1.Type] for more information
+ // about SQL types.
+ map param_types = 3;
+ }
+
+ // Required. The session in which the DML statements should be performed.
+ string session = 1;
+
+ // The transaction to use. A ReadWrite transaction is required. Single-use
+ // transactions are not supported (to avoid replay). The caller must either
+ // supply an existing transaction ID or begin a new transaction.
+ TransactionSelector transaction = 2;
+
+ // The list of statements to execute in this batch. Statements are executed
+ // serially, such that the effects of statement i are visible to statement
+ // i+1. Each statement must be a DML statement. Execution will stop at the
+ // first failed statement; the remaining statements will not run.
+ //
+ // REQUIRES: statements_size() > 0.
+ repeated Statement statements = 3;
+
+ // A per-transaction sequence number used to identify this request. This is
+ // used in the same space as the seqno in
+ // [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details
+ // in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest].
+ int64 seqno = 4;
+}
+
+// The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
+// of [ResultSet][google.spanner.v1.ResultSet], one for each DML statement that has successfully executed.
+// If a statement fails, the error is returned as part of the response payload.
+// Clients can determine whether all DML statements have run successfully, or if
+// a statement failed, using one of the following approaches:
+//
+// 1. Check if 'status' field is OkStatus.
+// 2. Check if result_sets_size() equals the number of statements in
+// [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest].
+//
+// Example 1: A request with 5 DML statements, all executed successfully.
+// Result: A response with 5 ResultSets, one for each statement in the same
+// order, and an OK status.
+//
+// Example 2: A request with 5 DML statements. The 3rd statement has a syntax
+// error.
+// Result: A response with 2 ResultSets, for the first 2 statements that
+// run successfully, and a syntax error (INVALID_ARGUMENT) status. From
+// result_set_size() client can determine that the 3rd statement has failed.
+message ExecuteBatchDmlResponse {
+ // ResultSets, one for each statement in the request that ran successfully, in
+ // the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] will
+ // not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] will
+ // contain the number of rows modified by the statement.
+ //
+ // Only the first ResultSet in the response contains a valid
+ // [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
+ repeated ResultSet result_sets = 1;
+
+ // If all DML statements are executed successfully, status will be OK.
+ // Otherwise, the error status of the first failed statement.
+ google.rpc.Status status = 2;
+}
+
// Options for a PartitionQueryRequest and
// PartitionReadRequest.
message PartitionOptions {
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 2d835e067f07..935d2c7746a1 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-speech-v1
PROTO library for proto-google-cloud-speech-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 6b24caef88f4..7f7d0b5db887 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-speech-v1beta1
PROTO library for proto-google-cloud-speech-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 f729e0cfdc79..6b83c9da606a 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-speech-v1p1beta1
PROTO library for proto-google-cloud-speech-v1p1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 24bb970c1628..ed95fadee5bf 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-tasks-v2beta2
PROTO library for proto-google-cloud-tasks-v2beta2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 a4d07240f2ad..5ad3eefae386 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-tasks-v2beta3
PROTO library for proto-google-cloud-tasks-v2beta3
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 cf821f54d424..7b5f5b568a45 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-texttospeech-v1
PROTO library for proto-google-cloud-texttospeech-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 49ad6ba89279..3aa8525a19a3 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-texttospeech-v1beta1
PROTO library for proto-google-cloud-texttospeech-v1beta1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 46b76cad098f..162ea4d6cd84 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-trace-v1
PROTO library for proto-google-cloud-trace-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 8b22bd952ed0..2f0334d9ee18 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-trace-v2
PROTO library for proto-google-cloud-trace-v2
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.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 64d65e2a3793..3b64a5c99fea 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.1-SNAPSHOT
+ 0.46.0
proto-google-cloud-video-intelligence-v1
PROTO library for proto-google-cloud-video-intelligence-v1
com.google.api.grpc
google-api-grpc
- 0.45.1-SNAPSHOT
+ 0.46.0
diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java
index 0c5d9cdef787..82a170ee4e0a 100644
--- a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java
+++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java
@@ -73,6 +73,26 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum {
* SPEECH_TRANSCRIPTION = 6;
*/
SPEECH_TRANSCRIPTION(6),
+ /**
+ *
+ *
+ *
+ * OCR text detection and tracking.
+ *
+ *
+ * TEXT_DETECTION = 7;
+ */
+ TEXT_DETECTION(7),
+ /**
+ *
+ *
+ *
+ * Object detection and tracking.
+ *
+ *
+ * OBJECT_TRACKING = 9;
+ */
+ OBJECT_TRACKING(9),
UNRECOGNIZED(-1),
;
@@ -136,6 +156,26 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum {
* SPEECH_TRANSCRIPTION = 6;
*/
public static final int SPEECH_TRANSCRIPTION_VALUE = 6;
+ /**
+ *
+ *
+ *
+ * OCR text detection and tracking.
+ *
+ *
+ * TEXT_DETECTION = 7;
+ */
+ public static final int TEXT_DETECTION_VALUE = 7;
+ /**
+ *
+ *
+ *
+ * Object detection and tracking.
+ *
+ *
+ * OBJECT_TRACKING = 9;
+ */
+ public static final int OBJECT_TRACKING_VALUE = 9;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -165,6 +205,10 @@ public static Feature forNumber(int value) {
return FACE_DETECTION;
case 6:
return SPEECH_TRANSCRIPTION;
+ case 7:
+ return TEXT_DETECTION;
+ case 9:
+ return OBJECT_TRACKING;
default:
return null;
}
diff --git a/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java
new file mode 100644
index 000000000000..243db3ce6e4d
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java
@@ -0,0 +1,974 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/videointelligence/v1/video_intelligence.proto
+
+package com.google.cloud.videointelligence.v1;
+
+/**
+ *
+ *
+ *
+ * Normalized bounding polygon for text (that might not be aligned with axis).
+ * Contains list of the corner points in clockwise order starting from
+ * top-left corner. For example, for a rectangular bounding box:
+ * When the text is horizontal it might look like:
+ * 0----1
+ * | |
+ * 3----2
+ * When it's clockwise rotated 180 degrees around the top-left corner it
+ * becomes:
+ * 2----3
+ * | |
+ * 1----0
+ * and the vertex order will still be (0, 1, 2, 3). Note that values can be less
+ * than 0, or greater than 1 due to trignometric calculations for location of
+ * the box.
+ *
+ *
+ * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
+ */
+public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedBoundingPoly)
+ NormalizedBoundingPolyOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use NormalizedBoundingPoly.newBuilder() to construct.
+ private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private NormalizedBoundingPoly() {
+ vertices_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private NormalizedBoundingPoly(
+ 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)) {
+ vertices_ =
+ new java.util.ArrayList<
+ com.google.cloud.videointelligence.v1.NormalizedVertex>();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ vertices_.add(
+ input.readMessage(
+ com.google.cloud.videointelligence.v1.NormalizedVertex.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)) {
+ vertices_ = java.util.Collections.unmodifiableList(vertices_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+ .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+ .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+ }
+
+ public static final int VERTICES_FIELD_NUMBER = 1;
+ private java.util.List vertices_;
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public java.util.List getVerticesList() {
+ return vertices_;
+ }
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public java.util.List extends com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
+ getVerticesOrBuilderList() {
+ return vertices_;
+ }
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public int getVerticesCount() {
+ return vertices_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int index) {
+ return vertices_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder(
+ int index) {
+ return vertices_.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 < vertices_.size(); i++) {
+ output.writeMessage(1, vertices_.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 < vertices_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.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.cloud.videointelligence.v1.NormalizedBoundingPoly)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other =
+ (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) obj;
+
+ boolean result = true;
+ result = result && getVerticesList().equals(other.getVerticesList());
+ 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 (getVerticesCount() > 0) {
+ hash = (37 * hash) + VERTICES_FIELD_NUMBER;
+ hash = (53 * hash) + getVerticesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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;
+ }
+ /**
+ *
+ *
+ *
+ * Normalized bounding polygon for text (that might not be aligned with axis).
+ * Contains list of the corner points in clockwise order starting from
+ * top-left corner. For example, for a rectangular bounding box:
+ * When the text is horizontal it might look like:
+ * 0----1
+ * | |
+ * 3----2
+ * When it's clockwise rotated 180 degrees around the top-left corner it
+ * becomes:
+ * 2----3
+ * | |
+ * 1----0
+ * and the vertex order will still be (0, 1, 2, 3). Note that values can be less
+ * than 0, or greater than 1 due to trignometric calculations for location of
+ * the box.
+ *
+ *
+ * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.videointelligence.v1.NormalizedBoundingPoly)
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+ .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+ .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+ }
+
+ // Construct using com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getVerticesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ if (verticesBuilder_ == null) {
+ vertices_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ verticesBuilder_.clear();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+ .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly
+ getDefaultInstanceForType() {
+ return com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly build() {
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly buildPartial() {
+ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result =
+ new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(this);
+ int from_bitField0_ = bitField0_;
+ if (verticesBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ vertices_ = java.util.Collections.unmodifiableList(vertices_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.vertices_ = vertices_;
+ } else {
+ result.vertices_ = verticesBuilder_.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.cloud.videointelligence.v1.NormalizedBoundingPoly) {
+ return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other) {
+ if (other
+ == com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance())
+ return this;
+ if (verticesBuilder_ == null) {
+ if (!other.vertices_.isEmpty()) {
+ if (vertices_.isEmpty()) {
+ vertices_ = other.vertices_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureVerticesIsMutable();
+ vertices_.addAll(other.vertices_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.vertices_.isEmpty()) {
+ if (verticesBuilder_.isEmpty()) {
+ verticesBuilder_.dispose();
+ verticesBuilder_ = null;
+ vertices_ = other.vertices_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ verticesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getVerticesFieldBuilder()
+ : null;
+ } else {
+ verticesBuilder_.addAllMessages(other.vertices_);
+ }
+ }
+ }
+ 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.cloud.videointelligence.v1.NormalizedBoundingPoly parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List vertices_ =
+ java.util.Collections.emptyList();
+
+ private void ensureVerticesIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ vertices_ =
+ new java.util.ArrayList(
+ vertices_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.videointelligence.v1.NormalizedVertex,
+ com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
+ com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
+ verticesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Normalized vertices of the bounding polygon.
+ *
+ *
+ * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;
+ */
+ public java.util.List
+ getVerticesList() {
+ if (verticesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(vertices_);
+ } else {
+ return verticesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *