diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java index b36561cbed94..063eb57ed31f 100644 --- a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java +++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java @@ -4055,7 +4055,11 @@ public interface ProximityOrBuilder * * *
- * Number of characters before the finding to consider. + * Number of characters before the finding to consider. For tabular data, + * if you want to modify the likelihood of an entire column of findngs, + * set this to 1. For more information, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
int32 window_before = 1;
@@ -4181,7 +4185,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* - * Number of characters before the finding to consider. + * Number of characters before the finding to consider. For tabular data, + * if you want to modify the likelihood of an entire column of findngs, + * set this to 1. For more information, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
int32 window_before = 1;
@@ -4563,7 +4571,11 @@ public Builder mergeFrom(
*
*
* - * Number of characters before the finding to consider. + * Number of characters before the finding to consider. For tabular data, + * if you want to modify the likelihood of an entire column of findngs, + * set this to 1. For more information, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
int32 window_before = 1;
@@ -4578,7 +4590,11 @@ public int getWindowBefore() {
*
*
* - * Number of characters before the finding to consider. + * Number of characters before the finding to consider. For tabular data, + * if you want to modify the likelihood of an entire column of findngs, + * set this to 1. For more information, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
int32 window_before = 1;
@@ -4596,7 +4612,11 @@ public Builder setWindowBefore(int value) {
*
*
* - * Number of characters before the finding to consider. + * Number of characters before the finding to consider. For tabular data, + * if you want to modify the likelihood of an entire column of findngs, + * set this to 1. For more information, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
int32 window_before = 1;
@@ -5775,14 +5795,18 @@ public interface HotwordRuleOrBuilder
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -5794,14 +5818,18 @@ public interface HotwordRuleOrBuilder
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -5813,14 +5841,18 @@ public interface HotwordRuleOrBuilder
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6068,14 +6100,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6090,14 +6126,18 @@ public boolean hasProximity() {
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6114,14 +6154,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6790,14 +6834,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6811,14 +6859,18 @@ public boolean hasProximity() {
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6839,14 +6891,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6869,14 +6925,18 @@ public Builder setProximity(
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6897,14 +6957,18 @@ public Builder setProximity(
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6932,14 +6996,18 @@ public Builder mergeProximity(
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6959,14 +7027,18 @@ public Builder clearProximity() {
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -6981,14 +7053,18 @@ public Builder clearProximity() {
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
@@ -7008,14 +7084,18 @@ public Builder clearProximity() {
*
*
* - * Proximity of the finding within which the entire hotword must reside. - * The total length of the window cannot exceed 1000 characters. Note that - * the finding itself will be included in the window, so that hotwords may - * be used to match substrings of the finding itself. For example, the - * certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - * adjusted upwards if the area code is known to be the local area code of - * a company office using the hotword regex "\(xxx\)", where "xxx" - * is the area code in question. + * Range of characters within which the entire hotword must reside. + * The total length of the window cannot exceed 1000 characters. + * The finding itself will be included in the window, so that hotwords can + * be used to match substrings of the finding itself. Suppose you + * want Cloud DLP to promote the likelihood of the phone number + * regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + * area code of a company's office. In this case, use the hotword regex + * "\(xxx\)", where "xxx" is the area code in question. + * For tabular data, if you want to modify the likelihood of an entire + * column of findngs, see + * [Hotword example: Set the match likelihood of a table column] + * (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). ** *
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
index 1ae86763bac1..9e114030f6c7 100644
--- a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
+++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
@@ -195,6 +195,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -999,1011 +1003,1041 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "privacy.dlp.v2.HybridInspectStatistics\"`"
+ "\n\027HybridInspectStatistics\022\027\n\017processed_c"
+ "ount\030\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpen"
- + "ding_count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription"
+ + "ding_count\030\003 \001(\003\"\315\001\n\023InfoTypeDescription"
+ "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014"
+ "supported_by\030\003 \003(\0162*.google.privacy.dlp."
+ "v2.InfoTypeSupportedBy\022\023\n\013description\030\004 "
- + "\001(\t\"b\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 "
- + "\001(\t\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001"
- + "(\t\022\023\n\013location_id\030\003 \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\"\274\001\n\007QuasiId"
- + "\0222\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2."
- + "FieldIdB\003\340A\002\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.prot"
- + "obuf.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable"
- + "\0228\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2."
- + "BigQueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<."
- + "google.privacy.dlp.v2.StatisticalTable.Q"
- + "uasiIdentifierFieldB\003\340A\002\022?\n\022relative_fre"
- + "quency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie"
- + "ldIdB\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005fie"
- + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId"
- + "\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022["
- + "\n\026numerical_stats_config\030\001 \001(\01329.google."
- + "privacy.dlp.v2.PrivacyMetric.NumericalSt"
- + "atsConfigH\000\022_\n\030categorical_stats_config\030"
- + "\002 \001(\0132;.google.privacy.dlp.v2.PrivacyMet"
- + "ric.CategoricalStatsConfigH\000\022S\n\022k_anonym"
- + "ity_config\030\003 \001(\01325.google.privacy.dlp.v2"
- + ".PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_d"
- + "iversity_config\030\004 \001(\01325.google.privacy.d"
- + "lp.v2.PrivacyMetric.LDiversityConfigH\000\022\\"
- + "\n\027k_map_estimation_config\030\005 \001(\01329.google"
- + ".privacy.dlp.v2.PrivacyMetric.KMapEstima"
- + "tionConfigH\000\022n\n delta_presence_estimatio"
- + "n_config\030\006 \001(\0132B.google.privacy.dlp.v2.P"
- + "rivacyMetric.DeltaPresenceEstimationConf"
- + "igH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 "
- + "\001(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026C"
- + "ategoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.g"
- + "oogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymi"
- + "tyConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pri"
- + "vacy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037"
- + ".google.privacy.dlp.v2.EntityId\032\202\001\n\020LDiv"
- + "ersityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google"
- + ".privacy.dlp.v2.FieldId\022;\n\023sensitive_att"
- + "ribute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie"
- + "ldId\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_i"
- + "ds\030\001 \003(\0132E.google.privacy.dlp.v2.Privacy"
- + "Metric.KMapEstimationConfig.TaggedFieldB"
- + "\003\340A\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_t"
- + "ables\030\003 \003(\0132H.google.privacy.dlp.v2.Priv"
- + "acyMetric.KMapEstimationConfig.Auxiliary"
- + "Table\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.g"
- + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinf"
- + "o_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Inf"
- + "oTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferre"
- + "d\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag"
- + "\032\315\002\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.goo"
- + "gle.privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n"
- + "\tquasi_ids\030\001 \003(\0132U.google.privacy.dlp.v2"
- + ".PrivacyMetric.KMapEstimationConfig.Auxi"
- + "liaryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative"
- + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2"
- + ".FieldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001"
- + " \001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\n"
- + "custom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstima"
- + "tionConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.p"
- + "rivacy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_cod"
- + "e\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.goog"
- + "le.privacy.dlp.v2.StatisticalTableB\006\n\004ty"
- + "pe\"\301\037\n\034AnalyzeDataSourceRiskDetails\022F\n\030r"
- + "equested_privacy_metric\030\001 \001(\0132$.google.p"
- + "rivacy.dlp.v2.PrivacyMetric\022D\n\026requested"
- + "_source_table\030\002 \001(\0132$.google.privacy.dlp"
- + ".v2.BigQueryTable\022j\n\026numerical_stats_res"
- + "ult\030\003 \001(\0132H.google.privacy.dlp.v2.Analyz"
- + "eDataSourceRiskDetails.NumericalStatsRes"
- + "ultH\000\022n\n\030categorical_stats_result\030\004 \001(\0132"
- + "J.google.privacy.dlp.v2.AnalyzeDataSourc"
- + "eRiskDetails.CategoricalStatsResultH\000\022b\n"
- + "\022k_anonymity_result\030\005 \001(\0132D.google.priva"
- + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K"
- + "AnonymityResultH\000\022b\n\022l_diversity_result\030"
- + "\006 \001(\0132D.google.privacy.dlp.v2.AnalyzeDat"
- + "aSourceRiskDetails.LDiversityResultH\000\022k\n"
- + "\027k_map_estimation_result\030\007 \001(\0132H.google."
- + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta"
- + "ils.KMapEstimationResultH\000\022}\n delta_pres"
- + "ence_estimation_result\030\t \001(\0132Q.google.pr"
- + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail"
- + "s.DeltaPresenceEstimationResultH\000\022k\n\021req"
- + "uested_options\030\n \001(\0132P.google.privacy.dl"
- + "p.v2.AnalyzeDataSourceRiskDetails.Reques"
- + "tedRiskAnalysisOptions\032\257\001\n\024NumericalStat"
- + "sResult\022/\n\tmin_value\030\001 \001(\0132\034.google.priv"
- + "acy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.go"
- + "ogle.privacy.dlp.v2.Value\0225\n\017quantile_va"
- + "lues\030\004 \003(\0132\034.google.privacy.dlp.v2.Value"
- + "\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_fr"
- + "equency_histogram_buckets\030\005 \003(\0132j.google"
- + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet"
- + "ails.CategoricalStatsResult.CategoricalS"
- + "tatsHistogramBucket\032\332\001\n\037CategoricalStats"
- + "HistogramBucket\022#\n\033value_frequency_lower"
- + "_bound\030\001 \001(\003\022#\n\033value_frequency_upper_bo"
- + "und\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket"
- + "_values\030\004 \003(\0132%.google.privacy.dlp.v2.Va"
- + "lueFrequency\022\032\n\022bucket_value_count\030\005 \001(\003"
- + "\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_cl"
- + "ass_histogram_buckets\030\005 \003(\0132^.google.pri"
- + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails"
- + ".KAnonymityResult.KAnonymityHistogramBuc"
- + "ket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qua"
- + "si_ids_values\030\001 \003(\0132\034.google.privacy.dlp"
- + ".v2.Value\022\036\n\026equivalence_class_size\030\002 \001("
- + "\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equiv"
- + "alence_class_size_lower_bound\030\001 \001(\003\022*\n\"e"
- + "quivalence_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.AnalyzeDataS"
- + "ourceRiskDetails.KAnonymityResult.KAnony"
- + "mityEquivalenceClass\022\032\n\022bucket_value_cou"
- + "nt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensit"
- + "ive_value_frequency_histogram_buckets\030\005 "
+ + "\001(\t\022;\n\ncategories\030\n \003(\0132\'.google.privacy"
+ + ".dlp.v2.InfoTypeCategory\"\330\010\n\020InfoTypeCat"
+ + "egory\022U\n\021location_category\030\001 \001(\01628.googl"
+ + "e.privacy.dlp.v2.InfoTypeCategory.Locati"
+ + "onCategoryH\000\022U\n\021industry_category\030\002 \001(\0162"
+ + "8.google.privacy.dlp.v2.InfoTypeCategory"
+ + ".IndustryCategoryH\000\022M\n\rtype_category\030\003 \001"
+ + "(\01624.google.privacy.dlp.v2.InfoTypeCateg"
+ + "ory.TypeCategoryH\000\"\303\004\n\020LocationCategory\022"
+ + "\030\n\024LOCATION_UNSPECIFIED\020\000\022\n\n\006GLOBAL\020\001\022\r\n"
+ + "\tARGENTINA\020\002\022\r\n\tAUSTRALIA\020\003\022\013\n\007BELGIUM\020\004"
+ + "\022\n\n\006BRAZIL\020\005\022\n\n\006CANADA\020\006\022\t\n\005CHILE\020\007\022\t\n\005C"
+ + "HINA\020\010\022\014\n\010COLOMBIA\020\t\022\013\n\007DENMARK\020\n\022\n\n\006FRA"
+ + "NCE\020\013\022\013\n\007FINLAND\020\014\022\013\n\007GERMANY\020\r\022\r\n\tHONG_"
+ + "KONG\020\016\022\t\n\005INDIA\020\017\022\r\n\tINDONESIA\020\020\022\013\n\007IREL"
+ + "AND\020\021\022\n\n\006ISRAEL\020\022\022\t\n\005ITALY\020\023\022\t\n\005JAPAN\020\024\022"
+ + "\t\n\005KOREA\020\025\022\n\n\006MEXICO\020\026\022\023\n\017THE_NETHERLAND"
+ + "S\020\027\022\n\n\006NORWAY\020\030\022\014\n\010PARAGUAY\020\031\022\010\n\004PERU\020\032\022"
+ + "\n\n\006POLAND\020\033\022\014\n\010PORTUGAL\020\034\022\r\n\tSINGAPORE\020\035"
+ + "\022\020\n\014SOUTH_AFRICA\020\036\022\t\n\005SPAIN\020\037\022\n\n\006SWEDEN\020"
+ + " \022\n\n\006TAIWAN\020!\022\014\n\010THAILAND\020\"\022\n\n\006TURKEY\020#\022"
+ + "\022\n\016UNITED_KINGDOM\020$\022\021\n\rUNITED_STATES\020%\022\013"
+ + "\n\007URUGUAY\020&\022\r\n\tVENEZUELA\020\'\022\014\n\010INTERNAL\020("
+ + "\"]\n\020IndustryCategory\022\030\n\024INDUSTRY_UNSPECI"
+ + "FIED\020\000\022\013\n\007FINANCE\020\001\022\n\n\006HEALTH\020\002\022\026\n\022TELEC"
+ + "OMMUNICATIONS\020\003\"\225\001\n\014TypeCategory\022\024\n\020TYPE"
+ + "_UNSPECIFIED\020\000\022\007\n\003PII\020\001\022\010\n\004SPII\020\002\022\017\n\013DEM"
+ + "OGRAPHIC\020\003\022\016\n\nCREDENTIAL\020\004\022\021\n\rGOVERNMENT"
+ + "_ID\020\005\022\014\n\010DOCUMENT\020\006\022\032\n\026CONTEXTUAL_INFORM"
+ + "ATION\020\007B\n\n\010category\"b\n\024ListInfoTypesRequ"
+ + "est\022\016\n\006parent\030\004 \001(\t\022\025\n\rlanguage_code\030\001 \001"
+ + "(\t\022\016\n\006filter\030\002 \001(\t\022\023\n\013location_id\030\003 \001(\t\""
+ + "W\n\025ListInfoTypesResponse\022>\n\ninfo_types\030\001"
+ + " \003(\0132*.google.privacy.dlp.v2.InfoTypeDes"
+ + "cription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016pr"
+ + "ivacy_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\007"
+ + "actions\030\003 \003(\0132\035.google.privacy.dlp.v2.Ac"
+ + "tion\"\274\001\n\007QuasiId\0222\n\005field\030\001 \001(\0132\036.google"
+ + ".privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_typ"
+ + "e\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoType"
+ + "H\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\"\276\002\n\020"
+ + "StatisticalTable\0228\n\005table\030\003 \001(\0132$.google"
+ + ".privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tqu"
+ + "asi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.St"
+ + "atisticalTable.QuasiIdentifierFieldB\003\340A\002"
+ + "\022?\n\022relative_frequency\030\002 \001(\0132\036.google.pr"
+ + "ivacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdenti"
+ + "fierField\022-\n\005field\030\001 \001(\0132\036.google.privac"
+ + "y.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n"
+ + "\rPrivacyMetric\022[\n\026numerical_stats_config"
+ + "\030\001 \001(\01329.google.privacy.dlp.v2.PrivacyMe"
+ + "tric.NumericalStatsConfigH\000\022_\n\030categoric"
+ + "al_stats_config\030\002 \001(\0132;.google.privacy.d"
+ + "lp.v2.PrivacyMetric.CategoricalStatsConf"
+ + "igH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.googl"
+ + "e.privacy.dlp.v2.PrivacyMetric.KAnonymit"
+ + "yConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325."
+ + "google.privacy.dlp.v2.PrivacyMetric.LDiv"
+ + "ersityConfigH\000\022\\\n\027k_map_estimation_confi"
+ + "g\030\005 \001(\01329.google.privacy.dlp.v2.PrivacyM"
+ + "etric.KMapEstimationConfigH\000\022n\n delta_pr"
+ + "esence_estimation_config\030\006 \001(\0132B.google."
+ + "privacy.dlp.v2.PrivacyMetric.DeltaPresen"
+ + "ceEstimationConfigH\000\032E\n\024NumericalStatsCo"
+ + "nfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp"
+ + ".v2.FieldId\032G\n\026CategoricalStatsConfig\022-\n"
+ + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie"
+ + "ldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001 "
+ + "\003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\te"
+ + "ntity_id\030\002 \001(\0132\037.google.privacy.dlp.v2.E"
+ + "ntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_id"
+ + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022"
+ + ";\n\023sensitive_attribute\030\002 \001(\0132\036.google.pr"
+ + "ivacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimationC"
+ + "onfig\022]\n\tquasi_ids\030\001 \003(\0132E.google.privac"
+ + "y.dlp.v2.PrivacyMetric.KMapEstimationCon"
+ + "fig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001("
+ + "\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.pri"
+ + "vacy.dlp.v2.PrivacyMetric.KMapEstimation"
+ + "Config.AuxiliaryTable\032\300\001\n\013TaggedField\0222\n"
+ + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie"
+ + "ldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.pr"
+ + "ivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 "
+ + "\001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobu"
+ + "f.EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005t"
+ + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu"
+ + "eryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.googl"
+ + "e.privacy.dlp.v2.PrivacyMetric.KMapEstim"
+ + "ationConfig.AuxiliaryTable.QuasiIdFieldB"
+ + "\003\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.googl"
+ + "e.privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiId"
+ + "Field\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl"
+ + "p.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035Del"
+ + "taPresenceEstimationConfig\0226\n\tquasi_ids\030"
+ + "\001 \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003\340"
+ + "A\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_tab"
+ + "les\030\003 \003(\0132\'.google.privacy.dlp.v2.Statis"
+ + "ticalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSource"
+ + "RiskDetails\022F\n\030requested_privacy_metric\030"
+ + "\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMet"
+ + "ric\022D\n\026requested_source_table\030\002 \001(\0132$.go"
+ + "ogle.privacy.dlp.v2.BigQueryTable\022j\n\026num"
+ + "erical_stats_result\030\003 \001(\0132H.google.priva"
+ + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.N"
+ + "umericalStatsResultH\000\022n\n\030categorical_sta"
+ + "ts_result\030\004 \001(\0132J.google.privacy.dlp.v2."
+ + "AnalyzeDataSourceRiskDetails.Categorical"
+ + "StatsResultH\000\022b\n\022k_anonymity_result\030\005 \001("
+ + "\0132D.google.privacy.dlp.v2.AnalyzeDataSou"
+ + "rceRiskDetails.KAnonymityResultH\000\022b\n\022l_d"
+ + "iversity_result\030\006 \001(\0132D.google.privacy.d"
+ + "lp.v2.AnalyzeDataSourceRiskDetails.LDive"
+ + "rsityResultH\000\022k\n\027k_map_estimation_result"
+ + "\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeDa"
+ + "taSourceRiskDetails.KMapEstimationResult"
+ + "H\000\022}\n delta_presence_estimation_result\030\t"
+ + " \001(\0132Q.google.privacy.dlp.v2.AnalyzeData"
+ + "SourceRiskDetails.DeltaPresenceEstimatio"
+ + "nResultH\000\022k\n\021requested_options\030\n \001(\0132P.g"
+ + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi"
+ + "skDetails.RequestedRiskAnalysisOptions\032\257"
+ + "\001\n\024NumericalStatsResult\022/\n\tmin_value\030\001 \001"
+ + "(\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax_"
+ + "value\030\002 \001(\0132\034.google.privacy.dlp.v2.Valu"
+ + "e\0225\n\017quantile_values\030\004 \003(\0132\034.google.priv"
+ + "acy.dlp.v2.Value\032\215\003\n\026CategoricalStatsRes"
+ + "ult\022\225\001\n!value_frequency_histogram_bucket"
+ + "s\030\005 \003(\0132j.google.privacy.dlp.v2.AnalyzeD"
+ + "ataSourceRiskDetails.CategoricalStatsRes"
+ + "ult.CategoricalStatsHistogramBucket\032\332\001\n\037"
+ + "CategoricalStatsHistogramBucket\022#\n\033value"
+ + "_frequency_lower_bound\030\001 \001(\003\022#\n\033value_fr"
+ + "equency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size"
+ + "\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google.p"
+ + "rivacy.dlp.v2.ValueFrequency\022\032\n\022bucket_v"
+ + "alue_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.AnalyzeDataS"
- + "ourceRiskDetails.LDiversityResult.LDiver"
- + "sityHistogramBucket\032\340\001\n\032LDiversityEquiva"
- + "lenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.g"
- + "oogle.privacy.dlp.v2.Value\022\036\n\026equivalenc"
- + "e_class_size\030\002 \001(\003\022%\n\035num_distinct_sensi"
- + "tive_values\030\003 \001(\003\022C\n\024top_sensitive_value"
- + "s\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFre"
- + "quency\032\242\002\n\031LDiversityHistogramBucket\022-\n%"
- + "sensitive_value_frequency_lower_bound\030\001 "
- + "\001(\003\022-\n%sensitive_value_frequency_upper_b"
- + "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucke"
- + "t_values\030\004 \003(\0132_.google.privacy.dlp.v2.A"
- + "nalyzeDataSourceRiskDetails.LDiversityRe"
- + "sult.LDiversityEquivalenceClass\022\032\n\022bucke"
- + "t_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationRe"
- + "sult\022\212\001\n\032k_map_estimation_histogram\030\001 \003("
- + "\0132f.google.privacy.dlp.v2.AnalyzeDataSou"
+ + "ourceRiskDetails.KAnonymityResult.KAnony"
+ + "mityHistogramBucket\032t\n\032KAnonymityEquival"
+ + "enceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.go"
+ + "ogle.privacy.dlp.v2.Value\022\036\n\026equivalence"
+ + "_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHistogra"
+ + "mBucket\022*\n\"equivalence_class_size_lower_"
+ + "bound\030\001 \001(\003\022*\n\"equivalence_class_size_up"
+ + "per_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\r"
+ + "bucket_values\030\004 \003(\0132_.google.privacy.dlp"
+ + ".v2.AnalyzeDataSourceRiskDetails.KAnonym"
+ + "ityResult.KAnonymityEquivalenceClass\022\032\n\022"
+ + "bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversityR"
+ + "esult\022\223\001\n+sensitive_value_frequency_hist"
+ + "ogram_buckets\030\005 \003(\0132^.google.privacy.dlp"
+ + ".v2.AnalyzeDataSourceRiskDetails.LDivers"
+ + "ityResult.LDiversityHistogramBucket\032\340\001\n\032"
+ + "LDiversityEquivalenceClass\0226\n\020quasi_ids_"
+ + "values\030\001 \003(\0132\034.google.privacy.dlp.v2.Val"
+ + "ue\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035nu"
+ + "m_distinct_sensitive_values\030\003 \001(\003\022C\n\024top"
+ + "_sensitive_values\030\004 \003(\0132%.google.privacy"
+ + ".dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHis"
+ + "togramBucket\022-\n%sensitive_value_frequenc"
+ + "y_lower_bound\030\001 \001(\003\022-\n%sensitive_value_f"
+ + "requency_upper_bound\030\002 \001(\003\022\023\n\013bucket_siz"
+ + "e\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google."
+ + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta"
+ + "ils.LDiversityResult.LDiversityEquivalen"
+ + "ceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024"
+ + "KMapEstimationResult\022\212\001\n\032k_map_estimatio"
+ + "n_histogram\030\001 \003(\0132f.google.privacy.dlp.v"
+ + "2.AnalyzeDataSourceRiskDetails.KMapEstim"
+ + "ationResult.KMapEstimationHistogramBucke"
+ + "t\032r\n\033KMapEstimationQuasiIdValues\0226\n\020quas"
+ + "i_ids_values\030\001 \003(\0132\034.google.privacy.dlp."
+ + "v2.Value\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001"
+ + "\n\035KMapEstimationHistogramBucket\022\025\n\rmin_a"
+ + "nonymity\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.AnalyzeDataSou"
+ "rceRiskDetails.KMapEstimationResult.KMap"
- + "EstimationHistogramBucket\032r\n\033KMapEstimat"
- + "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003"
- + "(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023esti"
- + "mated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimation"
- + "HistogramBucket\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.priva"
- + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K"
- + "MapEstimationResult.KMapEstimationQuasiI"
- + "dValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035"
- + "DeltaPresenceEstimationResult\022\245\001\n#delta_"
- + "presence_estimation_histogram\030\001 \003(\0132x.go"
- + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis"
- + "kDetails.DeltaPresenceEstimationResult.D"
- + "eltaPresenceEstimationHistogramBucket\032}\n"
- + "$DeltaPresenceEstimationQuasiIdValues\0226\n"
- + "\020quasi_ids_values\030\001 \003(\0132\034.google.privacy"
- + ".dlp.v2.Value\022\035\n\025estimated_probability\030\002"
- + " \001(\001\032\233\002\n&DeltaPresenceEstimationHistogra"
- + "mBucket\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.Delt"
- + "aPresenceEstimationResult.DeltaPresenceE"
- + "stimationQuasiIdValues\022\032\n\022bucket_value_c"
- + "ount\030\007 \001(\003\032`\n\034RequestedRiskAnalysisOptio"
- + "ns\022@\n\njob_config\030\001 \001(\0132,.google.privacy."
- + "dlp.v2.RiskAnalysisJobConfigB\010\n\006result\"L"
- + "\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.google"
- + ".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\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_val"
- + "ue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022,"
- + "\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOfD"
- + "ayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type.D"
- + "ateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.googl"
- + "e.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\022"
- + "4\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp."
- + "v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTi"
- + "me\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013d"
- + "ay_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(\0132(.google.privacy.dlp.v"
- + "2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offse"
- + "t_minutes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031"
- + "info_type_transformations\030\001 \001(\0132..google"
- + ".privacy.dlp.v2.InfoTypeTransformationsH"
- + "\000\022N\n\026record_transformations\030\002 \001(\0132,.goog"
- + "le.privacy.dlp.v2.RecordTransformationsH"
- + "\000\022Y\n\035transformation_error_handling\030\003 \001(\013"
- + "22.google.privacy.dlp.v2.TransformationE"
- + "rrorHandlingB\020\n\016transformation\"\205\002\n\033Trans"
- + "formationErrorHandling\022T\n\013throw_error\030\001 "
- + "\001(\0132=.google.privacy.dlp.v2.Transformati"
- + "onErrorHandling.ThrowErrorH\000\022d\n\023leave_un"
- + "transformed\030\002 \001(\0132E.google.privacy.dlp.v",
- "2.TransformationErrorHandling.LeaveUntra"
- + "nsformedH\000\032\014\n\nThrowError\032\024\n\022LeaveUntrans"
- + "formedB\006\n\004mode\"\312\007\n\027PrimitiveTransformati"
- + "on\022C\n\016replace_config\030\001 \001(\0132).google.priv"
- + "acy.dlp.v2.ReplaceValueConfigH\000\022<\n\rredac"
- + "t_config\030\002 \001(\0132#.google.privacy.dlp.v2.R"
- + "edactConfigH\000\022K\n\025character_mask_config\030\003"
- + " \001(\0132*.google.privacy.dlp.v2.CharacterMa"
- + "skConfigH\000\022Y\n\035crypto_replace_ffx_fpe_con"
- + "fig\030\004 \001(\01320.google.privacy.dlp.v2.Crypto"
- + "ReplaceFfxFpeConfigH\000\022V\n\033fixed_size_buck"
- + "eting_config\030\005 \001(\0132/.google.privacy.dlp."
- + "v2.FixedSizeBucketingConfigH\000\022B\n\020bucketi"
- + "ng_config\030\006 \001(\0132&.google.privacy.dlp.v2."
- + "BucketingConfigH\000\022Y\n\035replace_with_info_t"
- + "ype_config\030\007 \001(\01320.google.privacy.dlp.v2"
- + ".ReplaceWithInfoTypeConfigH\000\022A\n\020time_par"
- + "t_config\030\010 \001(\0132%.google.privacy.dlp.v2.T"
- + "imePartConfigH\000\022E\n\022crypto_hash_config\030\t "
- + "\001(\0132\'.google.privacy.dlp.v2.CryptoHashCo"
- + "nfigH\000\022C\n\021date_shift_config\030\013 \001(\0132&.goog"
- + "le.privacy.dlp.v2.DateShiftConfigH\000\022W\n\033c"
- + "rypto_deterministic_config\030\014 \001(\01320.googl"
- + "e.privacy.dlp.v2.CryptoDeterministicConf"
- + "igH\000\022S\n\031replace_dictionary_config\030\r \001(\0132"
- + "..google.privacy.dlp.v2.ReplaceDictionar"
- + "yConfigH\000B\020\n\016transformation\"\334\001\n\016TimePart"
- + "Config\022G\n\017part_to_extract\030\001 \001(\0162..google"
- + ".privacy.dlp.v2.TimePartConfig.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\014DAY_OF_MONTH\020\003\022\017"
- + "\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOU"
- + "R_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto"
- + "_key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypt"
- + "oKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\ncr"
- + "ypto_key\030\001 \001(\0132 .google.privacy.dlp.v2.C"
- + "ryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132\037."
- + "google.privacy.dlp.v2.InfoType\022/\n\007contex"
- + "t\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldId\""
- + "E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\013"
- + "2\034.google.privacy.dlp.v2.Value\"q\n\027Replac"
- + "eDictionaryConfig\022N\n\tword_list\030\001 \001(\01329.g"
- + "oogle.privacy.dlp.v2.CustomInfoType.Dict"
- + "ionary.WordListH\000B\006\n\004type\"\033\n\031ReplaceWith"
- + "InfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rChars"
- + "ToIgnore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_"
- + "\n\033common_characters_to_ignore\030\002 \001(\01628.go"
- + "ogle.privacy.dlp.v2.CharsToIgnore.Common"
- + "CharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\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\020AL"
- + "PHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHI"
- + "TESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMas"
- + "kConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016nu"
- + "mber_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\"\244\001\n\030FixedS"
- + "izeBucketingConfig\0226\n\013lower_bound\030\001 \001(\0132"
- + "\034.google.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013up"
- + "per_bound\030\002 \001(\0132\034.google.privacy.dlp.v2."
- + "ValueB\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n"
- + "\017BucketingConfig\022>\n\007buckets\030\001 \003(\0132-.goog"
- + "le.privacy.dlp.v2.BucketingConfig.Bucket"
- + "\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privac"
- + "y.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.pri"
- + "vacy.dlp.v2.Value\022<\n\021replacement_value\030\003"
- + " \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A\002\""
- + "\371\003\n\031CryptoReplaceFfxFpeConfig\0229\n\ncrypto_"
- + "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto"
- + "KeyB\003\340A\002\022/\n\007context\030\002 \001(\0132\036.google.priva"
- + "cy.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001"
- + "(\0162H.google.privacy.dlp.v2.CryptoReplace"
- + "FfxFpeConfig.FfxCommonNativeAlphabetH\000\022\031"
- + "\n\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005"
- + "H\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google"
- + ".privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNa"
- + "tiveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHAB"
- + "ET_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADEC"
- + "IMAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\r"
- + "ALPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKe"
- + "y\022>\n\ttransient\030\001 \001(\0132).google.privacy.dl"
- + "p.v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002"
- + " \001(\0132).google.privacy.dlp.v2.UnwrappedCr"
- + "yptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google."
- + "privacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006"
- + "source\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001"
- + "(\tB\003\340A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001"
- + "(\014B\003\340A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrappe"
- + "d_key\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001("
- + "\tB\003\340A\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_boun"
- + "d_days\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 "
- + "\001(\005B\003\340A\002\022/\n\007context\030\003 \001(\0132\036.google.priva"
- + "cy.dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 ."
- + "google.privacy.dlp.v2.CryptoKeyH\000B\010\n\006met"
- + "hod\"\245\002\n\027InfoTypeTransformations\022c\n\017trans"
- + "formations\030\001 \003(\0132E.google.privacy.dlp.v2"
- + ".InfoTypeTransformations.InfoTypeTransfo"
- + "rmationB\003\340A\002\032\244\001\n\026InfoTypeTransformation\022"
- + "3\n\ninfo_types\030\001 \003(\0132\037.google.privacy.dlp"
- + ".v2.InfoType\022U\n\030primitive_transformation"
- + "\030\002 \001(\0132..google.privacy.dlp.v2.Primitive"
- + "TransformationB\003\340A\002\"\300\002\n\023FieldTransformat"
- + "ion\0223\n\006fields\030\001 \003(\0132\036.google.privacy.dlp"
- + ".v2.FieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.go"
- + "ogle.privacy.dlp.v2.RecordCondition\022R\n\030p"
- + "rimitive_transformation\030\004 \001(\0132..google.p"
- + "rivacy.dlp.v2.PrimitiveTransformationH\000\022"
- + "S\n\031info_type_transformations\030\005 \001(\0132..goo"
- + "gle.privacy.dlp.v2.InfoTypeTransformatio"
- + "nsH\000B\020\n\016transformation\"\251\001\n\025RecordTransfo"
- + "rmations\022I\n\025field_transformations\030\001 \003(\0132"
- + "*.google.privacy.dlp.v2.FieldTransformat"
- + "ion\022E\n\023record_suppressions\030\002 \003(\0132(.googl"
- + "e.privacy.dlp.v2.RecordSuppression\"N\n\021Re"
- + "cordSuppression\0229\n\tcondition\030\001 \001(\0132&.goo"
- + "gle.privacy.dlp.v2.RecordCondition\"\334\004\n\017R"
- + "ecordCondition\022G\n\013expressions\030\003 \001(\01322.go"
- + "ogle.privacy.dlp.v2.RecordCondition.Expr"
- + "essions\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.g"
- + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010ope"
- + "rator\030\003 \001(\0162).google.privacy.dlp.v2.Rela"
- + "tionalOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.goo"
- + "gle.privacy.dlp.v2.Value\032R\n\nConditions\022D"
- + "\n\nconditions\030\001 \003(\01320.google.privacy.dlp."
- + "v2.RecordCondition.Condition\032\372\001\n\013Express"
- + "ions\022\\\n\020logical_operator\030\001 \001(\0162B.google."
- + "privacy.dlp.v2.RecordCondition.Expressio"
- + "ns.LogicalOperator\022G\n\nconditions\030\003 \001(\01321"
- + ".google.privacy.dlp.v2.RecordCondition.C"
- + "onditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICA"
- + "L_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004typ"
- + "e\"\203\001\n\026TransformationOverview\022\031\n\021transfor"
- + "med_bytes\030\002 \001(\003\022N\n\030transformation_summar"
- + "ies\030\003 \003(\0132,.google.privacy.dlp.v2.Transf"
- + "ormationSummary\"\237\005\n\025TransformationSummar"
- + "y\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dl"
- + "p.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google.pr"
- + "ivacy.dlp.v2.FieldId\022F\n\016transformation\030\003"
- + " \001(\0132..google.privacy.dlp.v2.PrimitiveTr"
- + "ansformation\022I\n\025field_transformations\030\005 "
- + "\003(\0132*.google.privacy.dlp.v2.FieldTransfo"
- + "rmation\022A\n\017record_suppress\030\006 \001(\0132(.googl"
- + "e.privacy.dlp.v2.RecordSuppression\022K\n\007re"
- + "sults\030\004 \003(\0132:.google.privacy.dlp.v2.Tran"
- + "sformationSummary.SummaryResult\022\031\n\021trans"
- + "formed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005"
- + "count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.priva"
- + "cy.dlp.v2.TransformationSummary.Transfor"
- + "mationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Tra"
- + "nsformationResultCode\022*\n&TRANSFORMATION_"
- + "RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t"
- + "\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_peri"
- + "od_duration\030\001 \001(\0132\031.google.protobuf.Dura"
- + "tionH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTe"
+ + "EstimationQuasiIdValues\022\032\n\022bucket_value_"
+ + "count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimationR"
+ + "esult\022\245\001\n#delta_presence_estimation_hist"
+ + "ogram\030\001 \003(\0132x.google.privacy.dlp.v2.Anal"
+ + "yzeDataSourceRiskDetails.DeltaPresenceEs"
+ + "timationResult.DeltaPresenceEstimationHi"
+ + "stogramBucket\032}\n$DeltaPresenceEstimation"
+ + "QuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132"
+ + "\034.google.privacy.dlp.v2.Value\022\035\n\025estimat"
+ + "ed_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceEs"
+ + "timationHistogramBucket\022\027\n\017min_probabili"
+ + "ty\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013buc"
+ + "ket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132v"
+ + ".google.privacy.dlp.v2.AnalyzeDataSource"
+ + "RiskDetails.DeltaPresenceEstimationResul"
+ + "t.DeltaPresenceEstimationQuasiIdValues\022\032"
+ + "\n\022bucket_value_count\030\007 \001(\003\032`\n\034RequestedR"
+ + "iskAnalysisOptions\022@\n\njob_config\030\001 \001(\0132,"
+ + ".google.privacy.dlp.v2.RiskAnalysisJobCo",
+ "nfigB\010\n\006result\"L\n\016ValueFrequency\022+\n\005valu"
+ + "e\030\001 \001(\0132\034.google.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\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\022"
+ + "5\n\017timestamp_value\030\005 \001(\0132\032.google.protob"
+ + "uf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.goo"
+ + "gle.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(\013"
+ + "2\021.google.type.DateH\000\0223\n\021day_of_week_val"
+ + "ue\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004ty"
+ + "pe\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.goo"
+ + "gle.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed_"
+ + "quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.googl"
+ + "e.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.googl"
+ + "e.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google."
+ + "type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.goog"
+ + "le.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010T"
+ + "imeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\244\002\n\020Deid"
+ + "entifyConfig\022S\n\031info_type_transformation"
+ + "s\030\001 \001(\0132..google.privacy.dlp.v2.InfoType"
+ + "TransformationsH\000\022N\n\026record_transformati"
+ + "ons\030\002 \001(\0132,.google.privacy.dlp.v2.Record"
+ + "TransformationsH\000\022Y\n\035transformation_erro"
+ + "r_handling\030\003 \001(\01322.google.privacy.dlp.v2"
+ + ".TransformationErrorHandlingB\020\n\016transfor"
+ + "mation\"\205\002\n\033TransformationErrorHandling\022T"
+ + "\n\013throw_error\030\001 \001(\0132=.google.privacy.dlp"
+ + ".v2.TransformationErrorHandling.ThrowErr"
+ + "orH\000\022d\n\023leave_untransformed\030\002 \001(\0132E.goog"
+ + "le.privacy.dlp.v2.TransformationErrorHan"
+ + "dling.LeaveUntransformedH\000\032\014\n\nThrowError"
+ + "\032\024\n\022LeaveUntransformedB\006\n\004mode\"\312\007\n\027Primi"
+ + "tiveTransformation\022C\n\016replace_config\030\001 \001"
+ + "(\0132).google.privacy.dlp.v2.ReplaceValueC"
+ + "onfigH\000\022<\n\rredact_config\030\002 \001(\0132#.google."
+ + "privacy.dlp.v2.RedactConfigH\000\022K\n\025charact"
+ + "er_mask_config\030\003 \001(\0132*.google.privacy.dl"
+ + "p.v2.CharacterMaskConfigH\000\022Y\n\035crypto_rep"
+ + "lace_ffx_fpe_config\030\004 \001(\01320.google.priva"
+ + "cy.dlp.v2.CryptoReplaceFfxFpeConfigH\000\022V\n"
+ + "\033fixed_size_bucketing_config\030\005 \001(\0132/.goo"
+ + "gle.privacy.dlp.v2.FixedSizeBucketingCon"
+ + "figH\000\022B\n\020bucketing_config\030\006 \001(\0132&.google"
+ + ".privacy.dlp.v2.BucketingConfigH\000\022Y\n\035rep"
+ + "lace_with_info_type_config\030\007 \001(\01320.googl"
+ + "e.privacy.dlp.v2.ReplaceWithInfoTypeConf"
+ + "igH\000\022A\n\020time_part_config\030\010 \001(\0132%.google."
+ + "privacy.dlp.v2.TimePartConfigH\000\022E\n\022crypt"
+ + "o_hash_config\030\t \001(\0132\'.google.privacy.dlp"
+ + ".v2.CryptoHashConfigH\000\022C\n\021date_shift_con"
+ + "fig\030\013 \001(\0132&.google.privacy.dlp.v2.DateSh"
+ + "iftConfigH\000\022W\n\033crypto_deterministic_conf"
+ + "ig\030\014 \001(\01320.google.privacy.dlp.v2.CryptoD"
+ + "eterministicConfigH\000\022S\n\031replace_dictiona"
+ + "ry_config\030\r \001(\0132..google.privacy.dlp.v2."
+ + "ReplaceDictionaryConfigH\000B\020\n\016transformat"
+ + "ion\"\334\001\n\016TimePartConfig\022G\n\017part_to_extrac"
+ + "t\030\001 \001(\0162..google.privacy.dlp.v2.TimePart"
+ + "Config.TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PAR"
+ + "T_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014"
+ + "DAY_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\020CryptoHash"
+ + "Config\0224\n\ncrypto_key\030\001 \001(\0132 .google.priv"
+ + "acy.dlp.v2.CryptoKey\"\300\001\n\031CryptoDetermini"
+ + "sticConfig\0224\n\ncrypto_key\030\001 \001(\0132 .google."
+ + "privacy.dlp.v2.CryptoKey\022<\n\023surrogate_in"
+ + "fo_type\030\002 \001(\0132\037.google.privacy.dlp.v2.In"
+ + "foType\022/\n\007context\030\003 \001(\0132\036.google.privacy"
+ + ".dlp.v2.FieldId\"E\n\022ReplaceValueConfig\022/\n"
+ + "\tnew_value\030\001 \001(\0132\034.google.privacy.dlp.v2"
+ + ".Value\"q\n\027ReplaceDictionaryConfig\022N\n\twor"
+ + "d_list\030\001 \001(\01329.google.privacy.dlp.v2.Cus"
+ + "tomInfoType.Dictionary.WordListH\000B\006\n\004typ"
+ + "e\"\033\n\031ReplaceWithInfoTypeConfig\"\016\n\014Redact"
+ + "Config\"\266\002\n\rCharsToIgnore\022\034\n\022characters_t"
+ + "o_skip\030\001 \001(\tH\000\022_\n\033common_characters_to_i"
+ + "gnore\030\002 \001(\01628.google.privacy.dlp.v2.Char"
+ + "sToIgnore.CommonCharsToIgnoreH\000\"\227\001\n\023Comm"
+ + "onCharsToIgnore\022&\n\"COMMON_CHARS_TO_IGNOR"
+ + "E_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UP"
+ + "PER_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNC"
+ + "TUATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\""
+ + "\243\001\n\023CharacterMaskConfig\022\031\n\021masking_chara"
+ + "cter\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rre"
+ + "verse_order\030\003 \001(\010\022B\n\024characters_to_ignor"
+ + "e\030\004 \003(\0132$.google.privacy.dlp.v2.CharsToI"
+ + "gnore\"\244\001\n\030FixedSizeBucketingConfig\0226\n\013lo"
+ + "wer_bound\030\001 \001(\0132\034.google.privacy.dlp.v2."
+ + "ValueB\003\340A\002\0226\n\013upper_bound\030\002 \001(\0132\034.google"
+ + ".privacy.dlp.v2.ValueB\003\340A\002\022\030\n\013bucket_siz"
+ + "e\030\003 \001(\001B\003\340A\002\"\360\001\n\017BucketingConfig\022>\n\007buck"
+ + "ets\030\001 \003(\0132-.google.privacy.dlp.v2.Bucket"
+ + "ingConfig.Bucket\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\013"
+ + "2\034.google.privacy.dlp.v2.Value\022)\n\003max\030\002 "
+ + "\001(\0132\034.google.privacy.dlp.v2.Value\022<\n\021rep"
+ + "lacement_value\030\003 \001(\0132\034.google.privacy.dl"
+ + "p.v2.ValueB\003\340A\002\"\371\003\n\031CryptoReplaceFfxFpeC"
+ + "onfig\0229\n\ncrypto_key\030\001 \001(\0132 .google.priva"
+ + "cy.dlp.v2.CryptoKeyB\003\340A\002\022/\n\007context\030\002 \001("
+ + "\0132\036.google.privacy.dlp.v2.FieldId\022c\n\017com"
+ + "mon_alphabet\030\004 \001(\0162H.google.privacy.dlp."
+ + "v2.CryptoReplaceFfxFpeConfig.FfxCommonNa"
+ + "tiveAlphabetH\000\022\031\n\017custom_alphabet\030\005 \001(\tH"
+ + "\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_info_typ"
+ + "e\030\010 \001(\0132\037.google.privacy.dlp.v2.InfoType"
+ + "\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FFX_COMM"
+ + "ON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUME"
+ + "RIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_ALP"
+ + "HA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alpha"
+ + "bet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001(\0132).g"
+ + "oogle.privacy.dlp.v2.TransientCryptoKeyH"
+ + "\000\022>\n\tunwrapped\030\002 \001(\0132).google.privacy.dl"
+ + "p.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_wrapped"
+ + "\030\003 \001(\0132*.google.privacy.dlp.v2.KmsWrappe"
+ + "dCryptoKeyH\000B\010\n\006source\"\'\n\022TransientCrypt"
+ + "oKey\022\021\n\004name\030\001 \001(\tB\003\340A\002\"&\n\022UnwrappedCryp"
+ + "toKey\022\020\n\003key\030\001 \001(\014B\003\340A\002\"M\n\023KmsWrappedCry"
+ + "ptoKey\022\030\n\013wrapped_key\030\001 \001(\014B\003\340A\002\022\034\n\017cryp"
+ + "to_key_name\030\002 \001(\tB\003\340A\002\"\302\001\n\017DateShiftConf"
+ + "ig\022\035\n\020upper_bound_days\030\001 \001(\005B\003\340A\002\022\035\n\020low"
+ + "er_bound_days\030\002 \001(\005B\003\340A\002\022/\n\007context\030\003 \001("
+ + "\0132\036.google.privacy.dlp.v2.FieldId\0226\n\ncry"
+ + "pto_key\030\004 \001(\0132 .google.privacy.dlp.v2.Cr"
+ + "yptoKeyH\000B\010\n\006method\"\245\002\n\027InfoTypeTransfor"
+ + "mations\022c\n\017transformations\030\001 \003(\0132E.googl"
+ + "e.privacy.dlp.v2.InfoTypeTransformations"
+ + ".InfoTypeTransformationB\003\340A\002\032\244\001\n\026InfoTyp"
+ + "eTransformation\0223\n\ninfo_types\030\001 \003(\0132\037.go"
+ + "ogle.privacy.dlp.v2.InfoType\022U\n\030primitiv"
+ + "e_transformation\030\002 \001(\0132..google.privacy."
+ + "dlp.v2.PrimitiveTransformationB\003\340A\002\"\300\002\n\023"
+ + "FieldTransformation\0223\n\006fields\030\001 \003(\0132\036.go"
+ + "ogle.privacy.dlp.v2.FieldIdB\003\340A\002\0229\n\tcond"
+ + "ition\030\003 \001(\0132&.google.privacy.dlp.v2.Reco"
+ + "rdCondition\022R\n\030primitive_transformation\030"
+ + "\004 \001(\0132..google.privacy.dlp.v2.PrimitiveT"
+ + "ransformationH\000\022S\n\031info_type_transformat"
+ + "ions\030\005 \001(\0132..google.privacy.dlp.v2.InfoT"
+ + "ypeTransformationsH\000B\020\n\016transformation\"\251"
+ + "\001\n\025RecordTransformations\022I\n\025field_transf"
+ + "ormations\030\001 \003(\0132*.google.privacy.dlp.v2."
+ + "FieldTransformation\022E\n\023record_suppressio"
+ + "ns\030\002 \003(\0132(.google.privacy.dlp.v2.RecordS"
+ + "uppression\"N\n\021RecordSuppression\0229\n\tcondi"
+ + "tion\030\001 \001(\0132&.google.privacy.dlp.v2.Recor"
+ + "dCondition\"\334\004\n\017RecordCondition\022G\n\013expres"
+ + "sions\030\003 \001(\01322.google.privacy.dlp.v2.Reco"
+ + "rdCondition.Expressions\032\256\001\n\tCondition\0222\n"
+ + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie"
+ + "ldIdB\003\340A\002\022@\n\010operator\030\003 \001(\0162).google.pri"
+ + "vacy.dlp.v2.RelationalOperatorB\003\340A\002\022+\n\005v"
+ + "alue\030\004 \001(\0132\034.google.privacy.dlp.v2.Value"
+ + "\032R\n\nConditions\022D\n\nconditions\030\001 \003(\01320.goo"
+ + "gle.privacy.dlp.v2.RecordCondition.Condi"
+ + "tion\032\372\001\n\013Expressions\022\\\n\020logical_operator"
+ + "\030\001 \001(\0162B.google.privacy.dlp.v2.RecordCon"
+ + "dition.Expressions.LogicalOperator\022G\n\nco"
+ + "nditions\030\003 \001(\01321.google.privacy.dlp.v2.R"
+ + "ecordCondition.ConditionsH\000\"<\n\017LogicalOp"
+ + "erator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000"
+ + "\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026TransformationOver"
+ + "view\022\031\n\021transformed_bytes\030\002 \001(\003\022N\n\030trans"
+ + "formation_summaries\030\003 \003(\0132,.google.priva"
+ + "cy.dlp.v2.TransformationSummary\"\237\005\n\025Tran"
+ + "sformationSummary\0222\n\tinfo_type\030\001 \001(\0132\037.g"
+ + "oogle.privacy.dlp.v2.InfoType\022-\n\005field\030\002"
+ + " \001(\0132\036.google.privacy.dlp.v2.FieldId\022F\n\016"
+ + "transformation\030\003 \001(\0132..google.privacy.dl"
+ + "p.v2.PrimitiveTransformation\022I\n\025field_tr"
+ + "ansformations\030\005 \003(\0132*.google.privacy.dlp"
+ + ".v2.FieldTransformation\022A\n\017record_suppre"
+ + "ss\030\006 \001(\0132(.google.privacy.dlp.v2.RecordS"
+ + "uppression\022K\n\007results\030\004 \003(\0132:.google.pri"
+ + "vacy.dlp.v2.TransformationSummary.Summar"
+ + "yResult\022\031\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rS"
+ + "ummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001("
+ + "\0162E.google.privacy.dlp.v2.Transformation"
+ + "Summary.TransformationResultCode\022\017\n\007deta"
+ + "ils\030\003 \001(\t\"^\n\030TransformationResultCode\022*\n"
+ + "&TRANSFORMATION_RESULT_CODE_UNSPECIFIED\020"
+ + "\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n"
+ + "\032recurrence_period_duration\030\001 \001(\0132\031.goog"
+ + "le.protobuf.DurationH\000B\010\n\006option\"\010\n\006Manu"
+ + "al\"\302\004\n\017InspectTemplate\022\021\n\004name\030\001 \001(\tB\003\340A"
+ + "\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003"
+ + " \001(\t\0224\n\013create_time\030\004 \001(\0132\032.google.proto"
+ + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132"
+ + "\032.google.protobuf.TimestampB\003\340A\003\022<\n\016insp"
+ + "ect_config\030\006 \001(\0132$.google.privacy.dlp.v2"
+ + ".InspectConfig:\306\002\352A\302\002\n\"dlp.googleapis.co"
+ + "m/InspectTemplate\022@organizations/{organi"
+ + "zation}/inspectTemplates/{inspect_templa"
+ + "te}\0226projects/{project}/inspectTemplates"
+ + "/{inspect_template}\022Uorganizations/{orga"
+ + "nization}/locations/{location}/inspectTe"
+ + "mplates/{inspect_template}\022Kprojects/{pr"
+ + "oject}/locations/{location}/inspectTempl"
+ + "ates/{inspect_template}\"\346\004\n\022DeidentifyTe"
+ "mplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_nam"
+ "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_t"
+ "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340"
+ "A\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobu"
- + "f.TimestampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\013"
- + "2$.google.privacy.dlp.v2.InspectConfig:\306"
- + "\002\352A\302\002\n\"dlp.googleapis.com/InspectTemplat"
- + "e\022@organizations/{organization}/inspectT"
- + "emplates/{inspect_template}\0226projects/{p"
- + "roject}/inspectTemplates/{inspect_templa"
- + "te}\022Uorganizations/{organization}/locati"
- + "ons/{location}/inspectTemplates/{inspect"
- + "_template}\022Kprojects/{project}/locations"
- + "/{location}/inspectTemplates/{inspect_te"
- + "mplate}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001"
- + " \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr"
- + "iption\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.goog"
- + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim"
- + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
- + "\022B\n\021deidentify_config\030\006 \001(\0132\'.google.pri"
- + "vacy.dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp"
- + ".googleapis.com/DeidentifyTemplate\022Forga"
- + "nizations/{organization}/deidentifyTempl"
- + "ates/{deidentify_template}\022+ * Classification of infoTypes to organize them according to geographic + * location, industry, and data type. + *+ * + * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory} + */ +public final class InfoTypeCategory extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeCategory) + InfoTypeCategoryOrBuilder { + private static final long serialVersionUID = 0L; + // Use InfoTypeCategory.newBuilder() to construct. + private InfoTypeCategory(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private InfoTypeCategory() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InfoTypeCategory(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InfoTypeCategory( + 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; + case 8: + { + int rawValue = input.readEnum(); + categoryCase_ = 1; + category_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); + categoryCase_ = 2; + category_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); + categoryCase_ = 3; + category_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().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_InfoTypeCategory_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.InfoTypeCategory.class, + com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class); + } + + /** + * + * + *
+ * Enum of the current locations. + * We might add more locations in the future. + *+ * + * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.LocationCategory} + */ + public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unused location + *+ * + *
LOCATION_UNSPECIFIED = 0;
+ */
+ LOCATION_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * The infoType is not issued by or tied to a specific region, but is used + * almost everywhere. + *+ * + *
GLOBAL = 1;
+ */
+ GLOBAL(1),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Argentina. + *+ * + *
ARGENTINA = 2;
+ */
+ ARGENTINA(2),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Australia. + *+ * + *
AUSTRALIA = 3;
+ */
+ AUSTRALIA(3),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Belgium. + *+ * + *
BELGIUM = 4;
+ */
+ BELGIUM(4),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Brazil. + *+ * + *
BRAZIL = 5;
+ */
+ BRAZIL(5),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Canada. + *+ * + *
CANADA = 6;
+ */
+ CANADA(6),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Chile. + *+ * + *
CHILE = 7;
+ */
+ CHILE(7),
+ /**
+ *
+ *
+ * + * The infoType is typically used in China. + *+ * + *
CHINA = 8;
+ */
+ CHINA(8),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Colombia. + *+ * + *
COLOMBIA = 9;
+ */
+ COLOMBIA(9),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Denmark. + *+ * + *
DENMARK = 10;
+ */
+ DENMARK(10),
+ /**
+ *
+ *
+ * + * The infoType is typically used in France. + *+ * + *
FRANCE = 11;
+ */
+ FRANCE(11),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Finland. + *+ * + *
FINLAND = 12;
+ */
+ FINLAND(12),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Germany. + *+ * + *
GERMANY = 13;
+ */
+ GERMANY(13),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Hong Kong. + *+ * + *
HONG_KONG = 14;
+ */
+ HONG_KONG(14),
+ /**
+ *
+ *
+ * + * The infoType is typically used in India. + *+ * + *
INDIA = 15;
+ */
+ INDIA(15),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Indonesia. + *+ * + *
INDONESIA = 16;
+ */
+ INDONESIA(16),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Ireland. + *+ * + *
IRELAND = 17;
+ */
+ IRELAND(17),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Israel. + *+ * + *
ISRAEL = 18;
+ */
+ ISRAEL(18),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Italy. + *+ * + *
ITALY = 19;
+ */
+ ITALY(19),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Japan. + *+ * + *
JAPAN = 20;
+ */
+ JAPAN(20),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Korea. + *+ * + *
KOREA = 21;
+ */
+ KOREA(21),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Mexico. + *+ * + *
MEXICO = 22;
+ */
+ MEXICO(22),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the Netherlands. + *+ * + *
THE_NETHERLANDS = 23;
+ */
+ THE_NETHERLANDS(23),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Norway. + *+ * + *
NORWAY = 24;
+ */
+ NORWAY(24),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Paraguay. + *+ * + *
PARAGUAY = 25;
+ */
+ PARAGUAY(25),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Peru. + *+ * + *
PERU = 26;
+ */
+ PERU(26),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Poland. + *+ * + *
POLAND = 27;
+ */
+ POLAND(27),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Portugal. + *+ * + *
PORTUGAL = 28;
+ */
+ PORTUGAL(28),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Singapore. + *+ * + *
SINGAPORE = 29;
+ */
+ SINGAPORE(29),
+ /**
+ *
+ *
+ * + * The infoType is typically used in South Africa. + *+ * + *
SOUTH_AFRICA = 30;
+ */
+ SOUTH_AFRICA(30),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Spain. + *+ * + *
SPAIN = 31;
+ */
+ SPAIN(31),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Sweden. + *+ * + *
SWEDEN = 32;
+ */
+ SWEDEN(32),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Taiwan. + *+ * + *
TAIWAN = 33;
+ */
+ TAIWAN(33),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Thailand. + *+ * + *
THAILAND = 34;
+ */
+ THAILAND(34),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Turkey. + *+ * + *
TURKEY = 35;
+ */
+ TURKEY(35),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the United Kingdom. + *+ * + *
UNITED_KINGDOM = 36;
+ */
+ UNITED_KINGDOM(36),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the United States. + *+ * + *
UNITED_STATES = 37;
+ */
+ UNITED_STATES(37),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Uruguay. + *+ * + *
URUGUAY = 38;
+ */
+ URUGUAY(38),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Venezuela. + *+ * + *
VENEZUELA = 39;
+ */
+ VENEZUELA(39),
+ /**
+ *
+ *
+ * + * The infoType is typically used in Google internally. + *+ * + *
INTERNAL = 40;
+ */
+ INTERNAL(40),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unused location + *+ * + *
LOCATION_UNSPECIFIED = 0;
+ */
+ public static final int LOCATION_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * The infoType is not issued by or tied to a specific region, but is used + * almost everywhere. + *+ * + *
GLOBAL = 1;
+ */
+ public static final int GLOBAL_VALUE = 1;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Argentina. + *+ * + *
ARGENTINA = 2;
+ */
+ public static final int ARGENTINA_VALUE = 2;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Australia. + *+ * + *
AUSTRALIA = 3;
+ */
+ public static final int AUSTRALIA_VALUE = 3;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Belgium. + *+ * + *
BELGIUM = 4;
+ */
+ public static final int BELGIUM_VALUE = 4;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Brazil. + *+ * + *
BRAZIL = 5;
+ */
+ public static final int BRAZIL_VALUE = 5;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Canada. + *+ * + *
CANADA = 6;
+ */
+ public static final int CANADA_VALUE = 6;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Chile. + *+ * + *
CHILE = 7;
+ */
+ public static final int CHILE_VALUE = 7;
+ /**
+ *
+ *
+ * + * The infoType is typically used in China. + *+ * + *
CHINA = 8;
+ */
+ public static final int CHINA_VALUE = 8;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Colombia. + *+ * + *
COLOMBIA = 9;
+ */
+ public static final int COLOMBIA_VALUE = 9;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Denmark. + *+ * + *
DENMARK = 10;
+ */
+ public static final int DENMARK_VALUE = 10;
+ /**
+ *
+ *
+ * + * The infoType is typically used in France. + *+ * + *
FRANCE = 11;
+ */
+ public static final int FRANCE_VALUE = 11;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Finland. + *+ * + *
FINLAND = 12;
+ */
+ public static final int FINLAND_VALUE = 12;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Germany. + *+ * + *
GERMANY = 13;
+ */
+ public static final int GERMANY_VALUE = 13;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Hong Kong. + *+ * + *
HONG_KONG = 14;
+ */
+ public static final int HONG_KONG_VALUE = 14;
+ /**
+ *
+ *
+ * + * The infoType is typically used in India. + *+ * + *
INDIA = 15;
+ */
+ public static final int INDIA_VALUE = 15;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Indonesia. + *+ * + *
INDONESIA = 16;
+ */
+ public static final int INDONESIA_VALUE = 16;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Ireland. + *+ * + *
IRELAND = 17;
+ */
+ public static final int IRELAND_VALUE = 17;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Israel. + *+ * + *
ISRAEL = 18;
+ */
+ public static final int ISRAEL_VALUE = 18;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Italy. + *+ * + *
ITALY = 19;
+ */
+ public static final int ITALY_VALUE = 19;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Japan. + *+ * + *
JAPAN = 20;
+ */
+ public static final int JAPAN_VALUE = 20;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Korea. + *+ * + *
KOREA = 21;
+ */
+ public static final int KOREA_VALUE = 21;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Mexico. + *+ * + *
MEXICO = 22;
+ */
+ public static final int MEXICO_VALUE = 22;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the Netherlands. + *+ * + *
THE_NETHERLANDS = 23;
+ */
+ public static final int THE_NETHERLANDS_VALUE = 23;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Norway. + *+ * + *
NORWAY = 24;
+ */
+ public static final int NORWAY_VALUE = 24;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Paraguay. + *+ * + *
PARAGUAY = 25;
+ */
+ public static final int PARAGUAY_VALUE = 25;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Peru. + *+ * + *
PERU = 26;
+ */
+ public static final int PERU_VALUE = 26;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Poland. + *+ * + *
POLAND = 27;
+ */
+ public static final int POLAND_VALUE = 27;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Portugal. + *+ * + *
PORTUGAL = 28;
+ */
+ public static final int PORTUGAL_VALUE = 28;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Singapore. + *+ * + *
SINGAPORE = 29;
+ */
+ public static final int SINGAPORE_VALUE = 29;
+ /**
+ *
+ *
+ * + * The infoType is typically used in South Africa. + *+ * + *
SOUTH_AFRICA = 30;
+ */
+ public static final int SOUTH_AFRICA_VALUE = 30;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Spain. + *+ * + *
SPAIN = 31;
+ */
+ public static final int SPAIN_VALUE = 31;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Sweden. + *+ * + *
SWEDEN = 32;
+ */
+ public static final int SWEDEN_VALUE = 32;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Taiwan. + *+ * + *
TAIWAN = 33;
+ */
+ public static final int TAIWAN_VALUE = 33;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Thailand. + *+ * + *
THAILAND = 34;
+ */
+ public static final int THAILAND_VALUE = 34;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Turkey. + *+ * + *
TURKEY = 35;
+ */
+ public static final int TURKEY_VALUE = 35;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the United Kingdom. + *+ * + *
UNITED_KINGDOM = 36;
+ */
+ public static final int UNITED_KINGDOM_VALUE = 36;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the United States. + *+ * + *
UNITED_STATES = 37;
+ */
+ public static final int UNITED_STATES_VALUE = 37;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Uruguay. + *+ * + *
URUGUAY = 38;
+ */
+ public static final int URUGUAY_VALUE = 38;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Venezuela. + *+ * + *
VENEZUELA = 39;
+ */
+ public static final int VENEZUELA_VALUE = 39;
+ /**
+ *
+ *
+ * + * The infoType is typically used in Google internally. + *+ * + *
INTERNAL = 40;
+ */
+ public static final int INTERNAL_VALUE = 40;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static LocationCategory valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static LocationCategory forNumber(int value) {
+ switch (value) {
+ case 0:
+ return LOCATION_UNSPECIFIED;
+ case 1:
+ return GLOBAL;
+ case 2:
+ return ARGENTINA;
+ case 3:
+ return AUSTRALIA;
+ case 4:
+ return BELGIUM;
+ case 5:
+ return BRAZIL;
+ case 6:
+ return CANADA;
+ case 7:
+ return CHILE;
+ case 8:
+ return CHINA;
+ case 9:
+ return COLOMBIA;
+ case 10:
+ return DENMARK;
+ case 11:
+ return FRANCE;
+ case 12:
+ return FINLAND;
+ case 13:
+ return GERMANY;
+ case 14:
+ return HONG_KONG;
+ case 15:
+ return INDIA;
+ case 16:
+ return INDONESIA;
+ case 17:
+ return IRELAND;
+ case 18:
+ return ISRAEL;
+ case 19:
+ return ITALY;
+ case 20:
+ return JAPAN;
+ case 21:
+ return KOREA;
+ case 22:
+ return MEXICO;
+ case 23:
+ return THE_NETHERLANDS;
+ case 24:
+ return NORWAY;
+ case 25:
+ return PARAGUAY;
+ case 26:
+ return PERU;
+ case 27:
+ return POLAND;
+ case 28:
+ return PORTUGAL;
+ case 29:
+ return SINGAPORE;
+ case 30:
+ return SOUTH_AFRICA;
+ case 31:
+ return SPAIN;
+ case 32:
+ return SWEDEN;
+ case 33:
+ return TAIWAN;
+ case 34:
+ return THAILAND;
+ case 35:
+ return TURKEY;
+ case 36:
+ return UNITED_KINGDOM;
+ case 37:
+ return UNITED_STATES;
+ case 38:
+ return URUGUAY;
+ case 39:
+ return VENEZUELA;
+ case 40:
+ return INTERNAL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Enum of the current industries in the category. + * We might add more industries in the future. + *+ * + * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory} + */ + public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unused industry + *+ * + *
INDUSTRY_UNSPECIFIED = 0;
+ */
+ INDUSTRY_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the finance industry. + *+ * + *
FINANCE = 1;
+ */
+ FINANCE(1),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the health industry. + *+ * + *
HEALTH = 2;
+ */
+ HEALTH(2),
+ /**
+ *
+ *
+ * + * The infoType is typically used in the telecommunications industry. + *+ * + *
TELECOMMUNICATIONS = 3;
+ */
+ TELECOMMUNICATIONS(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unused industry + *+ * + *
INDUSTRY_UNSPECIFIED = 0;
+ */
+ public static final int INDUSTRY_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the finance industry. + *+ * + *
FINANCE = 1;
+ */
+ public static final int FINANCE_VALUE = 1;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the health industry. + *+ * + *
HEALTH = 2;
+ */
+ public static final int HEALTH_VALUE = 2;
+ /**
+ *
+ *
+ * + * The infoType is typically used in the telecommunications industry. + *+ * + *
TELECOMMUNICATIONS = 3;
+ */
+ public static final int TELECOMMUNICATIONS_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static IndustryCategory valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static IndustryCategory forNumber(int value) {
+ switch (value) {
+ case 0:
+ return INDUSTRY_UNSPECIFIED;
+ case 1:
+ return FINANCE;
+ case 2:
+ return HEALTH;
+ case 3:
+ return TELECOMMUNICATIONS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Enum of the current types in the category. + * We might add more types in the future. + *+ * + * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.TypeCategory} + */ + public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unused type + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Personally identifiable information, for example, a + * name or phone number + *+ * + *
PII = 1;
+ */
+ PII(1),
+ /**
+ *
+ *
+ * + * Personally identifiable information that is especially sensitive, for + * example, a passport number. + *+ * + *
SPII = 2;
+ */
+ SPII(2),
+ /**
+ *
+ *
+ * + * Attributes that can partially identify someone, especially in + * combination with other attributes, like age, height, and gender. + *+ * + *
DEMOGRAPHIC = 3;
+ */
+ DEMOGRAPHIC(3),
+ /**
+ *
+ *
+ * + * Confidential or secret information, for example, a password. + *+ * + *
CREDENTIAL = 4;
+ */
+ CREDENTIAL(4),
+ /**
+ *
+ *
+ * + * An identification document issued by a government. + *+ * + *
GOVERNMENT_ID = 5;
+ */
+ GOVERNMENT_ID(5),
+ /**
+ *
+ *
+ * + * A document, for example, a resume or source code. + *+ * + *
DOCUMENT = 6;
+ */
+ DOCUMENT(6),
+ /**
+ *
+ *
+ * + * Information that is not sensitive on its own, but provides details about + * the circumstances surrounding an entity or an event. + *+ * + *
CONTEXTUAL_INFORMATION = 7;
+ */
+ CONTEXTUAL_INFORMATION(7),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unused type + *+ * + *
TYPE_UNSPECIFIED = 0;
+ */
+ public static final int TYPE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Personally identifiable information, for example, a + * name or phone number + *+ * + *
PII = 1;
+ */
+ public static final int PII_VALUE = 1;
+ /**
+ *
+ *
+ * + * Personally identifiable information that is especially sensitive, for + * example, a passport number. + *+ * + *
SPII = 2;
+ */
+ public static final int SPII_VALUE = 2;
+ /**
+ *
+ *
+ * + * Attributes that can partially identify someone, especially in + * combination with other attributes, like age, height, and gender. + *+ * + *
DEMOGRAPHIC = 3;
+ */
+ public static final int DEMOGRAPHIC_VALUE = 3;
+ /**
+ *
+ *
+ * + * Confidential or secret information, for example, a password. + *+ * + *
CREDENTIAL = 4;
+ */
+ public static final int CREDENTIAL_VALUE = 4;
+ /**
+ *
+ *
+ * + * An identification document issued by a government. + *+ * + *
GOVERNMENT_ID = 5;
+ */
+ public static final int GOVERNMENT_ID_VALUE = 5;
+ /**
+ *
+ *
+ * + * A document, for example, a resume or source code. + *+ * + *
DOCUMENT = 6;
+ */
+ public static final int DOCUMENT_VALUE = 6;
+ /**
+ *
+ *
+ * + * Information that is not sensitive on its own, but provides details about + * the circumstances surrounding an entity or an event. + *+ * + *
CONTEXTUAL_INFORMATION = 7;
+ */
+ public static final int CONTEXTUAL_INFORMATION_VALUE = 7;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static TypeCategory valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static TypeCategory forNumber(int value) {
+ switch (value) {
+ case 0:
+ return TYPE_UNSPECIFIED;
+ case 1:
+ return PII;
+ case 2:
+ return SPII;
+ case 3:
+ return DEMOGRAPHIC;
+ case 4:
+ return CREDENTIAL;
+ case 5:
+ return GOVERNMENT_ID;
+ case 6:
+ return DOCUMENT;
+ case 7:
+ return CONTEXTUAL_INFORMATION;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return Whether the locationCategory field is set.
+ */
+ public boolean hasLocationCategory() {
+ return categoryCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The enum numeric value on the wire for locationCategory.
+ */
+ public int getLocationCategoryValue() {
+ if (categoryCase_ == 1) {
+ return (java.lang.Integer) category_;
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The locationCategory.
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() {
+ if (categoryCase_ == 1) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED;
+ }
+
+ public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return Whether the industryCategory field is set.
+ */
+ public boolean hasIndustryCategory() {
+ return categoryCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The enum numeric value on the wire for industryCategory.
+ */
+ public int getIndustryCategoryValue() {
+ if (categoryCase_ == 2) {
+ return (java.lang.Integer) category_;
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The industryCategory.
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() {
+ if (categoryCase_ == 2) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED;
+ }
+
+ public static final int TYPE_CATEGORY_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return Whether the typeCategory field is set.
+ */
+ public boolean hasTypeCategory() {
+ return categoryCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The enum numeric value on the wire for typeCategory.
+ */
+ public int getTypeCategoryValue() {
+ if (categoryCase_ == 3) {
+ return (java.lang.Integer) category_;
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The typeCategory.
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() {
+ if (categoryCase_ == 3) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED;
+ }
+
+ 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 (categoryCase_ == 1) {
+ output.writeEnum(1, ((java.lang.Integer) category_));
+ }
+ if (categoryCase_ == 2) {
+ output.writeEnum(2, ((java.lang.Integer) category_));
+ }
+ if (categoryCase_ == 3) {
+ output.writeEnum(3, ((java.lang.Integer) category_));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (categoryCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) category_));
+ }
+ if (categoryCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeEnumSize(2, ((java.lang.Integer) category_));
+ }
+ if (categoryCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeEnumSize(3, ((java.lang.Integer) category_));
+ }
+ 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.InfoTypeCategory)) {
+ return super.equals(obj);
+ }
+ com.google.privacy.dlp.v2.InfoTypeCategory other =
+ (com.google.privacy.dlp.v2.InfoTypeCategory) obj;
+
+ if (!getCategoryCase().equals(other.getCategoryCase())) return false;
+ switch (categoryCase_) {
+ case 1:
+ if (getLocationCategoryValue() != other.getLocationCategoryValue()) return false;
+ break;
+ case 2:
+ if (getIndustryCategoryValue() != other.getIndustryCategoryValue()) return false;
+ break;
+ case 3:
+ if (getTypeCategoryValue() != other.getTypeCategoryValue()) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (categoryCase_) {
+ case 1:
+ hash = (37 * hash) + LOCATION_CATEGORY_FIELD_NUMBER;
+ hash = (53 * hash) + getLocationCategoryValue();
+ break;
+ case 2:
+ hash = (37 * hash) + INDUSTRY_CATEGORY_FIELD_NUMBER;
+ hash = (53 * hash) + getIndustryCategoryValue();
+ break;
+ case 3:
+ hash = (37 * hash) + TYPE_CATEGORY_FIELD_NUMBER;
+ hash = (53 * hash) + getTypeCategoryValue();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory 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.InfoTypeCategory parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory 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.InfoTypeCategory parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory 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.InfoTypeCategory parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory 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.InfoTypeCategory parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory 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.InfoTypeCategory 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.InfoTypeCategory 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.InfoTypeCategory 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;
+ }
+ /**
+ *
+ *
+ * + * Classification of infoTypes to organize them according to geographic + * location, industry, and data type. + *+ * + * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return Whether the locationCategory field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocationCategory() {
+ return categoryCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The enum numeric value on the wire for locationCategory.
+ */
+ @java.lang.Override
+ public int getLocationCategoryValue() {
+ if (categoryCase_ == 1) {
+ return ((java.lang.Integer) category_).intValue();
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @param value The enum numeric value on the wire for locationCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationCategoryValue(int value) {
+ categoryCase_ = 1;
+ category_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The locationCategory.
+ */
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() {
+ if (categoryCase_ == 1) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @param value The locationCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationCategory(
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ categoryCase_ = 1;
+ category_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLocationCategory() {
+ if (categoryCase_ == 1) {
+ categoryCase_ = 0;
+ category_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return Whether the industryCategory field is set.
+ */
+ @java.lang.Override
+ public boolean hasIndustryCategory() {
+ return categoryCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The enum numeric value on the wire for industryCategory.
+ */
+ @java.lang.Override
+ public int getIndustryCategoryValue() {
+ if (categoryCase_ == 2) {
+ return ((java.lang.Integer) category_).intValue();
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @param value The enum numeric value on the wire for industryCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIndustryCategoryValue(int value) {
+ categoryCase_ = 2;
+ category_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The industryCategory.
+ */
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() {
+ if (categoryCase_ == 2) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @param value The industryCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIndustryCategory(
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ categoryCase_ = 2;
+ category_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIndustryCategory() {
+ if (categoryCase_ == 2) {
+ categoryCase_ = 0;
+ category_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return Whether the typeCategory field is set.
+ */
+ @java.lang.Override
+ public boolean hasTypeCategory() {
+ return categoryCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The enum numeric value on the wire for typeCategory.
+ */
+ @java.lang.Override
+ public int getTypeCategoryValue() {
+ if (categoryCase_ == 3) {
+ return ((java.lang.Integer) category_).intValue();
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @param value The enum numeric value on the wire for typeCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeCategoryValue(int value) {
+ categoryCase_ = 3;
+ category_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The typeCategory.
+ */
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() {
+ if (categoryCase_ == 3) {
+ @SuppressWarnings("deprecation")
+ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result =
+ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf(
+ (java.lang.Integer) category_);
+ return result == null
+ ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED
+ : result;
+ }
+ return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @param value The typeCategory to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTypeCategory(com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ categoryCase_ = 3;
+ category_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTypeCategory() {
+ if (categoryCase_ == 3) {
+ categoryCase_ = 0;
+ category_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeCategory)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeCategory)
+ private static final com.google.privacy.dlp.v2.InfoTypeCategory DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeCategory();
+ }
+
+ public static com.google.privacy.dlp.v2.InfoTypeCategory getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return Whether the locationCategory field is set.
+ */
+ boolean hasLocationCategory();
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The enum numeric value on the wire for locationCategory.
+ */
+ int getLocationCategoryValue();
+ /**
+ *
+ *
+ * + * The region or country that issued the ID or document represented by the + * infoType. + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;
+ *
+ * @return The locationCategory.
+ */
+ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory();
+
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return Whether the industryCategory field is set.
+ */
+ boolean hasIndustryCategory();
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The enum numeric value on the wire for industryCategory.
+ */
+ int getIndustryCategoryValue();
+ /**
+ *
+ *
+ * + * The group of relevant businesses where this infoType is commonly used + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;
+ *
+ * @return The industryCategory.
+ */
+ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory();
+
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return Whether the typeCategory field is set.
+ */
+ boolean hasTypeCategory();
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The enum numeric value on the wire for typeCategory.
+ */
+ int getTypeCategoryValue();
+ /**
+ *
+ *
+ * + * The class of identifiers where this infoType belongs + *+ * + *
.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;
+ *
+ * @return The typeCategory.
+ */
+ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory();
+
+ public com.google.privacy.dlp.v2.InfoTypeCategory.CategoryCase getCategoryCase();
+}
diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
index 4cccb44898f9..bd12a32e216e 100644
--- a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
+++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
@@ -42,6 +42,7 @@ private InfoTypeDescription() {
displayName_ = "";
supportedBy_ = java.util.Collections.emptyList();
description_ = "";
+ categories_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -120,6 +121,17 @@ private InfoTypeDescription(
description_ = s;
break;
}
+ case 82:
+ {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ categories_ = new java.util.ArrayList+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ @java.lang.Override
+ public java.util.List+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>
+ getCategoriesOrBuilderList() {
+ return categories_;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ @java.lang.Override
+ public int getCategoriesCount() {
+ return categories_.size();
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) {
+ return categories_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ @java.lang.Override
+ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) {
+ return categories_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -437,6 +521,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
+ for (int i = 0; i < categories_.size(); i++) {
+ output.writeMessage(10, categories_.get(i));
+ }
unknownFields.writeTo(output);
}
@@ -467,6 +554,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
+ for (int i = 0; i < categories_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, categories_.get(i));
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -487,6 +577,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getDisplayName().equals(other.getDisplayName())) return false;
if (!supportedBy_.equals(other.supportedBy_)) return false;
if (!getDescription().equals(other.getDescription())) return false;
+ if (!getCategoriesList().equals(other.getCategoriesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -508,6 +599,10 @@ public int hashCode() {
}
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
+ if (getCategoriesCount() > 0) {
+ hash = (37 * hash) + CATEGORIES_FIELD_NUMBER;
+ hash = (53 * hash) + getCategoriesList().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -647,7 +742,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getCategoriesFieldBuilder();
+ }
}
@java.lang.Override
@@ -661,6 +758,12 @@ public Builder clear() {
bitField0_ = (bitField0_ & ~0x00000001);
description_ = "";
+ if (categoriesBuilder_ == null) {
+ categories_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ categoriesBuilder_.clear();
+ }
return this;
}
@@ -697,6 +800,15 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() {
}
result.supportedBy_ = supportedBy_;
result.description_ = description_;
+ if (categoriesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ categories_ = java.util.Collections.unmodifiableList(categories_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.categories_ = categories_;
+ } else {
+ result.categories_ = categoriesBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -768,6 +880,33 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) {
description_ = other.description_;
onChanged();
}
+ if (categoriesBuilder_ == null) {
+ if (!other.categories_.isEmpty()) {
+ if (categories_.isEmpty()) {
+ categories_ = other.categories_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureCategoriesIsMutable();
+ categories_.addAll(other.categories_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.categories_.isEmpty()) {
+ if (categoriesBuilder_.isEmpty()) {
+ categoriesBuilder_.dispose();
+ categoriesBuilder_ = null;
+ categories_ = other.categories_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ categoriesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getCategoriesFieldBuilder()
+ : null;
+ } else {
+ categoriesBuilder_.addAllMessages(other.categories_);
+ }
+ }
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1343,6 +1482,357 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public java.util.List+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public int getCategoriesCount() {
+ if (categoriesBuilder_ == null) {
+ return categories_.size();
+ } else {
+ return categoriesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) {
+ if (categoriesBuilder_ == null) {
+ return categories_.get(index);
+ } else {
+ return categoriesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder setCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) {
+ if (categoriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
+ categories_.set(index, value);
+ onChanged();
+ } else {
+ categoriesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder setCategories(
+ int index, com.google.privacy.dlp.v2.InfoTypeCategory.Builder builderForValue) {
+ if (categoriesBuilder_ == null) {
+ ensureCategoriesIsMutable();
+ categories_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ categoriesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder addCategories(com.google.privacy.dlp.v2.InfoTypeCategory value) {
+ if (categoriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
+ categories_.add(value);
+ onChanged();
+ } else {
+ categoriesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder addCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) {
+ if (categoriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
+ categories_.add(index, value);
+ onChanged();
+ } else {
+ categoriesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder addCategories(
+ com.google.privacy.dlp.v2.InfoTypeCategory.Builder builderForValue) {
+ if (categoriesBuilder_ == null) {
+ ensureCategoriesIsMutable();
+ categories_.add(builderForValue.build());
+ onChanged();
+ } else {
+ categoriesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder addCategories(
+ int index, com.google.privacy.dlp.v2.InfoTypeCategory.Builder builderForValue) {
+ if (categoriesBuilder_ == null) {
+ ensureCategoriesIsMutable();
+ categories_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ categoriesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder addAllCategories(
+ java.lang.Iterable extends com.google.privacy.dlp.v2.InfoTypeCategory> values) {
+ if (categoriesBuilder_ == null) {
+ ensureCategoriesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_);
+ onChanged();
+ } else {
+ categoriesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder clearCategories() {
+ if (categoriesBuilder_ == null) {
+ categories_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ categoriesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public Builder removeCategories(int index) {
+ if (categoriesBuilder_ == null) {
+ ensureCategoriesIsMutable();
+ categories_.remove(index);
+ onChanged();
+ } else {
+ categoriesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.Builder getCategoriesBuilder(int index) {
+ return getCategoriesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) {
+ if (categoriesBuilder_ == null) {
+ return categories_.get(index);
+ } else {
+ return categoriesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public java.util.List extends com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>
+ getCategoriesOrBuilderList() {
+ if (categoriesBuilder_ != null) {
+ return categoriesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(categories_);
+ }
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder() {
+ return getCategoriesFieldBuilder()
+ .addBuilder(com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder(int index) {
+ return getCategoriesFieldBuilder()
+ .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ public java.util.List+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ java.util.List+ * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index);
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ int getCategoriesCount();
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ java.util.List extends com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>
+ getCategoriesOrBuilderList();
+ /**
+ *
+ *
+ * + * The category of the infoType. + *+ * + *
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
+ */
+ com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index);
}
diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
index b4b7056b5abf..901f2d1a1fcb 100644
--- a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
+++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
@@ -2686,7 +2686,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
*
* * When true, a contextual quote from the data that triggered a finding is - * included in the response; see Finding.quote. + * included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. * This is not used for data profiling. ** @@ -4344,7 +4344,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO * *
* When true, a contextual quote from the data that triggered a finding is - * included in the response; see Finding.quote. + * included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. * This is not used for data profiling. ** @@ -4361,7 +4361,7 @@ public boolean getIncludeQuote() { * *
* When true, a contextual quote from the data that triggered a finding is - * included in the response; see Finding.quote. + * included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. * This is not used for data profiling. ** @@ -4381,7 +4381,7 @@ public Builder setIncludeQuote(boolean value) { * *
* When true, a contextual quote from the data that triggered a finding is - * included in the response; see Finding.quote. + * included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. * This is not used for data profiling. ** diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java index cfdec2b6b862..a90b9563e7fe 100644 --- a/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java +++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java @@ -186,7 +186,7 @@ public interface InspectConfigOrBuilder * *
* When true, a contextual quote from the data that triggered a finding is - * included in the response; see Finding.quote. + * included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. * This is not used for data profiling. ** diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index 89d0247edfde..866a5748f661 100644 --- a/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -773,7 +773,7 @@ message InspectConfig { FindingLimits limits = 3; // When true, a contextual quote from the data that triggered a finding is - // included in the response; see Finding.quote. + // included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. // This is not used for data profiling. bool include_quote = 4; @@ -1554,6 +1554,201 @@ message InfoTypeDescription { // Description of the infotype. Translated when language is provided in the // request. string description = 4; + + // The category of the infoType. + repeated InfoTypeCategory categories = 10; +} + +// Classification of infoTypes to organize them according to geographic +// location, industry, and data type. +message InfoTypeCategory { + // Enum of the current locations. + // We might add more locations in the future. + enum LocationCategory { + // Unused location + LOCATION_UNSPECIFIED = 0; + + // The infoType is not issued by or tied to a specific region, but is used + // almost everywhere. + GLOBAL = 1; + + // The infoType is typically used in Argentina. + ARGENTINA = 2; + + // The infoType is typically used in Australia. + AUSTRALIA = 3; + + // The infoType is typically used in Belgium. + BELGIUM = 4; + + // The infoType is typically used in Brazil. + BRAZIL = 5; + + // The infoType is typically used in Canada. + CANADA = 6; + + // The infoType is typically used in Chile. + CHILE = 7; + + // The infoType is typically used in China. + CHINA = 8; + + // The infoType is typically used in Colombia. + COLOMBIA = 9; + + // The infoType is typically used in Denmark. + DENMARK = 10; + + // The infoType is typically used in France. + FRANCE = 11; + + // The infoType is typically used in Finland. + FINLAND = 12; + + // The infoType is typically used in Germany. + GERMANY = 13; + + // The infoType is typically used in Hong Kong. + HONG_KONG = 14; + + // The infoType is typically used in India. + INDIA = 15; + + // The infoType is typically used in Indonesia. + INDONESIA = 16; + + // The infoType is typically used in Ireland. + IRELAND = 17; + + // The infoType is typically used in Israel. + ISRAEL = 18; + + // The infoType is typically used in Italy. + ITALY = 19; + + // The infoType is typically used in Japan. + JAPAN = 20; + + // The infoType is typically used in Korea. + KOREA = 21; + + // The infoType is typically used in Mexico. + MEXICO = 22; + + // The infoType is typically used in the Netherlands. + THE_NETHERLANDS = 23; + + // The infoType is typically used in Norway. + NORWAY = 24; + + // The infoType is typically used in Paraguay. + PARAGUAY = 25; + + // The infoType is typically used in Peru. + PERU = 26; + + // The infoType is typically used in Poland. + POLAND = 27; + + // The infoType is typically used in Portugal. + PORTUGAL = 28; + + // The infoType is typically used in Singapore. + SINGAPORE = 29; + + // The infoType is typically used in South Africa. + SOUTH_AFRICA = 30; + + // The infoType is typically used in Spain. + SPAIN = 31; + + // The infoType is typically used in Sweden. + SWEDEN = 32; + + // The infoType is typically used in Taiwan. + TAIWAN = 33; + + // The infoType is typically used in Thailand. + THAILAND = 34; + + // The infoType is typically used in Turkey. + TURKEY = 35; + + // The infoType is typically used in the United Kingdom. + UNITED_KINGDOM = 36; + + // The infoType is typically used in the United States. + UNITED_STATES = 37; + + // The infoType is typically used in Uruguay. + URUGUAY = 38; + + // The infoType is typically used in Venezuela. + VENEZUELA = 39; + + // The infoType is typically used in Google internally. + INTERNAL = 40; + } + + // Enum of the current industries in the category. + // We might add more industries in the future. + enum IndustryCategory { + // Unused industry + INDUSTRY_UNSPECIFIED = 0; + + // The infoType is typically used in the finance industry. + FINANCE = 1; + + // The infoType is typically used in the health industry. + HEALTH = 2; + + // The infoType is typically used in the telecommunications industry. + TELECOMMUNICATIONS = 3; + } + + // Enum of the current types in the category. + // We might add more types in the future. + enum TypeCategory { + // Unused type + TYPE_UNSPECIFIED = 0; + + // Personally identifiable information, for example, a + // name or phone number + PII = 1; + + // Personally identifiable information that is especially sensitive, for + // example, a passport number. + SPII = 2; + + // Attributes that can partially identify someone, especially in + // combination with other attributes, like age, height, and gender. + DEMOGRAPHIC = 3; + + // Confidential or secret information, for example, a password. + CREDENTIAL = 4; + + // An identification document issued by a government. + GOVERNMENT_ID = 5; + + // A document, for example, a resume or source code. + DOCUMENT = 6; + + // Information that is not sensitive on its own, but provides details about + // the circumstances surrounding an entity or an event. + CONTEXTUAL_INFORMATION = 7; + } + + oneof category { + // The region or country that issued the ID or document represented by the + // infoType. + LocationCategory location_category = 1; + + // The group of relevant businesses where this infoType is commonly used + IndustryCategory industry_category = 2; + + // The class of identifiers where this infoType belongs + TypeCategory type_category = 3; + } } // Request for the list of infoTypes. diff --git a/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index 5c33808865ea..391488eff680 100644 --- a/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/java-dlp/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -149,7 +149,11 @@ message CustomInfoType { // Message for specifying a window around a finding to apply a detection // rule. message Proximity { - // Number of characters before the finding to consider. + // Number of characters before the finding to consider. For tabular data, + // if you want to modify the likelihood of an entire column of findngs, + // set this to 1. For more information, see + // [Hotword example: Set the match likelihood of a table column] + // (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). int32 window_before = 1; // Number of characters after the finding to consider. @@ -181,14 +185,19 @@ message CustomInfoType { // Regular expression pattern defining what qualifies as a hotword. Regex hotword_regex = 1; - // Proximity of the finding within which the entire hotword must reside. - // The total length of the window cannot exceed 1000 characters. Note that - // the finding itself will be included in the window, so that hotwords may - // be used to match substrings of the finding itself. For example, the - // certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - // adjusted upwards if the area code is known to be the local area code of - // a company office using the hotword regex "\(xxx\)", where "xxx" - // is the area code in question. + // Range of characters within which the entire hotword must reside. + // The total length of the window cannot exceed 1000 characters. + // The finding itself will be included in the window, so that hotwords can + // be used to match substrings of the finding itself. Suppose you + // want Cloud DLP to promote the likelihood of the phone number + // regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the + // area code of a company's office. In this case, use the hotword regex + // "\(xxx\)", where "xxx" is the area code in question. + // + // For tabular data, if you want to modify the likelihood of an entire + // column of findngs, see + // [Hotword example: Set the match likelihood of a table column] + // (https://cloud.google.com/dlp/docs/creating-custom-infotypes-likelihood#match-column-values). Proximity proximity = 2; // Likelihood adjustment to apply to all matching findings.