From a1364b34da45d59212fd00c6c8fc17ba0f17ee8d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 1 Mar 2021 09:30:18 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#448) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../google/privacy/dlp/v2/CharsToIgnore.java | 63 ++++++++ .../dlp/v2/CharsToIgnoreOrBuilder.java | 26 ++++ .../google/privacy/dlp/v2/ContentItem.java | 29 ++++ .../privacy/dlp/v2/ContentItemOrBuilder.java | 12 ++ .../dlp/v2/CryptoReplaceFfxFpeConfig.java | 109 +++++++++++++ .../CryptoReplaceFfxFpeConfigOrBuilder.java | 47 ++++++ .../google/privacy/dlp/v2/CustomInfoType.java | 103 +++++++++++++ .../java/com/google/privacy/dlp/v2/Key.java | 97 ++++++++++++ .../google/privacy/dlp/v2/PrivacyMetric.java | 47 ++++++ .../com/google/privacy/dlp/v2/QuasiId.java | 33 ++++ .../privacy/dlp/v2/QuasiIdOrBuilder.java | 14 ++ .../privacy/dlp/v2/RedactImageRequest.java | 44 ++++++ .../java/com/google/privacy/dlp/v2/Value.java | 145 ++++++++++++++++++ .../google/privacy/dlp/v2/ValueOrBuilder.java | 60 ++++++++ synth.metadata | 6 +- 15 files changed, 832 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java index c8312f8e..9c63b0c8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java @@ -391,6 +391,20 @@ public CharactersCase getCharactersCase() { } public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER = 1; + /** + * + * + *
+   * Characters to not transform when masking.
+   * 
+ * + * string characters_to_skip = 1; + * + * @return Whether the charactersToSkip field is set. + */ + public boolean hasCharactersToSkip() { + return charactersCase_ == 1; + } /** * * @@ -447,6 +461,22 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() { } public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER = 2; + /** + * + * + *
+   * Common characters to not transform when masking. Useful to avoid removing
+   * punctuation.
+   * 
+ * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * + * @return Whether the commonCharactersToIgnore field is set. + */ + public boolean hasCommonCharactersToIgnore() { + return charactersCase_ == 2; + } /** * * @@ -872,6 +902,21 @@ public Builder clearCharacters() { return this; } + /** + * + * + *
+     * Characters to not transform when masking.
+     * 
+ * + * string characters_to_skip = 1; + * + * @return Whether the charactersToSkip field is set. + */ + @java.lang.Override + public boolean hasCharactersToSkip() { + return charactersCase_ == 1; + } /** * * @@ -991,6 +1036,24 @@ public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Common characters to not transform when masking. Useful to avoid removing
+     * punctuation.
+     * 
+ * + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * + * @return Whether the commonCharactersToIgnore field is set. + */ + @java.lang.Override + public boolean hasCommonCharactersToIgnore() { + return charactersCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java index 50c4b24a..3a22e92c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java @@ -23,6 +23,18 @@ public interface CharsToIgnoreOrBuilder // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Characters to not transform when masking.
+   * 
+ * + * string characters_to_skip = 1; + * + * @return Whether the charactersToSkip field is set. + */ + boolean hasCharactersToSkip(); /** * * @@ -48,6 +60,20 @@ public interface CharsToIgnoreOrBuilder */ com.google.protobuf.ByteString getCharactersToSkipBytes(); + /** + * + * + *
+   * Common characters to not transform when masking. Useful to avoid removing
+   * punctuation.
+   * 
+ * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * + * @return Whether the commonCharactersToIgnore field is set. + */ + boolean hasCommonCharactersToIgnore(); /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java index d2b5c089..0167134a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java @@ -191,6 +191,20 @@ public DataItemCase getDataItemCase() { } public static final int VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * String data to inspect or redact.
+   * 
+ * + * string value = 3; + * + * @return Whether the value field is set. + */ + public boolean hasValue() { + return dataItemCase_ == 3; + } /** * * @@ -761,6 +775,21 @@ public Builder clearDataItem() { return this; } + /** + * + * + *
+     * String data to inspect or redact.
+     * 
+ * + * string value = 3; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return dataItemCase_ == 3; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java index beb6abd5..07826488 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java @@ -23,6 +23,18 @@ public interface ContentItemOrBuilder // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentItem) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * String data to inspect or redact.
+   * 
+ * + * string value = 3; + * + * @return Whether the value field is set. + */ + boolean hasValue(); /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java index ff6d411b..5b7c358b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java @@ -577,6 +577,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { } public static final int COMMON_ALPHABET_FIELD_NUMBER = 4; + /** + * + * + *
+   * Common alphabets.
+   * 
+ * + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * + * @return Whether the commonAlphabet field is set. + */ + public boolean hasCommonAlphabet() { + return alphabetCase_ == 4; + } /** * * @@ -625,6 +641,29 @@ public int getCommonAlphabetValue() { } public static final int CUSTOM_ALPHABET_FIELD_NUMBER = 5; + /** + * + * + *
+   * This is supported by mapping these to the alphanumeric characters
+   * that the FFX mode natively supports. This happens before/after
+   * encryption/decryption.
+   * Each character listed must appear only once.
+   * Number of characters must be in the range [2, 95].
+   * This must be encoded as ASCII.
+   * The order of characters does not matter.
+   * The full list of allowed characters is:
+   * <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+   * ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code>
+   * 
+ * + * string custom_alphabet = 5; + * + * @return Whether the customAlphabet field is set. + */ + public boolean hasCustomAlphabet() { + return alphabetCase_ == 5; + } /** * * @@ -699,6 +738,21 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() { } public static final int RADIX_FIELD_NUMBER = 6; + /** + * + * + *
+   * The native way to select the alphabet. Must be in the range [2, 95].
+   * 
+ * + * int32 radix = 6; + * + * @return Whether the radix field is set. + */ + @java.lang.Override + public boolean hasRadix() { + return alphabetCase_ == 6; + } /** * * @@ -1827,6 +1881,23 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { return contextBuilder_; } + /** + * + * + *
+     * Common alphabets.
+     * 
+ * + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * + * @return Whether the commonAlphabet field is set. + */ + @java.lang.Override + public boolean hasCommonAlphabet() { + return alphabetCase_ == 4; + } /** * * @@ -1942,6 +2013,30 @@ public Builder clearCommonAlphabet() { return this; } + /** + * + * + *
+     * This is supported by mapping these to the alphanumeric characters
+     * that the FFX mode natively supports. This happens before/after
+     * encryption/decryption.
+     * Each character listed must appear only once.
+     * Number of characters must be in the range [2, 95].
+     * This must be encoded as ASCII.
+     * The order of characters does not matter.
+     * The full list of allowed characters is:
+     * <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+     * ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code>
+     * 
+ * + * string custom_alphabet = 5; + * + * @return Whether the customAlphabet field is set. + */ + @java.lang.Override + public boolean hasCustomAlphabet() { + return alphabetCase_ == 5; + } /** * * @@ -2106,6 +2201,20 @@ public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The native way to select the alphabet. Must be in the range [2, 95].
+     * 
+ * + * int32 radix = 6; + * + * @return Whether the radix field is set. + */ + public boolean hasRadix() { + return alphabetCase_ == 6; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java index b7b2241a..0241d7e2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java @@ -138,6 +138,20 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder */ com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder(); + /** + * + * + *
+   * Common alphabets.
+   * 
+ * + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * + * @return Whether the commonAlphabet field is set. + */ + boolean hasCommonAlphabet(); /** * * @@ -167,6 +181,27 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder */ com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet(); + /** + * + * + *
+   * This is supported by mapping these to the alphanumeric characters
+   * that the FFX mode natively supports. This happens before/after
+   * encryption/decryption.
+   * Each character listed must appear only once.
+   * Number of characters must be in the range [2, 95].
+   * This must be encoded as ASCII.
+   * The order of characters does not matter.
+   * The full list of allowed characters is:
+   * <code>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+   * ~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/</code>
+   * 
+ * + * string custom_alphabet = 5; + * + * @return Whether the customAlphabet field is set. + */ + boolean hasCustomAlphabet(); /** * * @@ -210,6 +245,18 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder */ com.google.protobuf.ByteString getCustomAlphabetBytes(); + /** + * + * + *
+   * The native way to select the alphabet. Must be in the range [2, 95].
+   * 
+ * + * int32 radix = 6; + * + * @return Whether the radix field is set. + */ + boolean hasRadix(); /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java index ff3462a4..3dfb74e6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java @@ -4706,6 +4706,18 @@ public interface LikelihoodAdjustmentOrBuilder // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+       * Set the likelihood of a finding to a fixed value.
+       * 
+ * + * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * + * @return Whether the fixedLikelihood field is set. + */ + boolean hasFixedLikelihood(); /** * * @@ -4731,6 +4743,25 @@ public interface LikelihoodAdjustmentOrBuilder */ com.google.privacy.dlp.v2.Likelihood getFixedLikelihood(); + /** + * + * + *
+       * Increase or decrease the likelihood by the specified number of
+       * levels. For example, if a finding would be `POSSIBLE` without the
+       * detection rule and `relative_likelihood` is 1, then it is upgraded to
+       * `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
+       * Likelihood may never drop below `VERY_UNLIKELY` or exceed
+       * `VERY_LIKELY`, so applying an adjustment of 1 followed by an
+       * adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
+       * a final likelihood of `LIKELY`.
+       * 
+ * + * int32 relative_likelihood = 2; + * + * @return Whether the relativeLikelihood field is set. + */ + boolean hasRelativeLikelihood(); /** * * @@ -4903,6 +4934,20 @@ public AdjustmentCase getAdjustmentCase() { } public static final int FIXED_LIKELIHOOD_FIELD_NUMBER = 1; + /** + * + * + *
+       * Set the likelihood of a finding to a fixed value.
+       * 
+ * + * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * + * @return Whether the fixedLikelihood field is set. + */ + public boolean hasFixedLikelihood() { + return adjustmentCase_ == 1; + } /** * * @@ -4942,6 +4987,28 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { } public static final int RELATIVE_LIKELIHOOD_FIELD_NUMBER = 2; + /** + * + * + *
+       * Increase or decrease the likelihood by the specified number of
+       * levels. For example, if a finding would be `POSSIBLE` without the
+       * detection rule and `relative_likelihood` is 1, then it is upgraded to
+       * `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
+       * Likelihood may never drop below `VERY_UNLIKELY` or exceed
+       * `VERY_LIKELY`, so applying an adjustment of 1 followed by an
+       * adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
+       * a final likelihood of `LIKELY`.
+       * 
+ * + * int32 relative_likelihood = 2; + * + * @return Whether the relativeLikelihood field is set. + */ + @java.lang.Override + public boolean hasRelativeLikelihood() { + return adjustmentCase_ == 2; + } /** * * @@ -5379,6 +5446,21 @@ public Builder clearAdjustment() { return this; } + /** + * + * + *
+         * Set the likelihood of a finding to a fixed value.
+         * 
+ * + * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * + * @return Whether the fixedLikelihood field is set. + */ + @java.lang.Override + public boolean hasFixedLikelihood() { + return adjustmentCase_ == 1; + } /** * * @@ -5477,6 +5559,27 @@ public Builder clearFixedLikelihood() { return this; } + /** + * + * + *
+         * Increase or decrease the likelihood by the specified number of
+         * levels. For example, if a finding would be `POSSIBLE` without the
+         * detection rule and `relative_likelihood` is 1, then it is upgraded to
+         * `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
+         * Likelihood may never drop below `VERY_UNLIKELY` or exceed
+         * `VERY_LIKELY`, so applying an adjustment of 1 followed by an
+         * adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
+         * a final likelihood of `LIKELY`.
+         * 
+ * + * int32 relative_likelihood = 2; + * + * @return Whether the relativeLikelihood field is set. + */ + public boolean hasRelativeLikelihood() { + return adjustmentCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java index 0b908572..7e654271 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java @@ -173,6 +173,20 @@ public interface PathElementOrBuilder */ com.google.protobuf.ByteString getKindBytes(); + /** + * + * + *
+     * The auto-allocated ID of the entity.
+     * Never equal to zero. Values less than zero are discouraged and may not
+     * be supported in the future.
+     * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + boolean hasId(); /** * * @@ -188,6 +202,21 @@ public interface PathElementOrBuilder */ long getId(); + /** + * + * + *
+     * The name of the entity.
+     * A name matching regex `__.*__` is reserved/read-only.
+     * A name must not be more than 1500 bytes when UTF-8 encoded.
+     * Cannot be `""`.
+     * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + boolean hasName(); /** * * @@ -432,6 +461,23 @@ public com.google.protobuf.ByteString getKindBytes() { } public static final int ID_FIELD_NUMBER = 2; + /** + * + * + *
+     * The auto-allocated ID of the entity.
+     * Never equal to zero. Values less than zero are discouraged and may not
+     * be supported in the future.
+     * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return idTypeCase_ == 2; + } /** * * @@ -454,6 +500,23 @@ public long getId() { } public static final int NAME_FIELD_NUMBER = 3; + /** + * + * + *
+     * The name of the entity.
+     * A name matching regex `__.*__` is reserved/read-only.
+     * A name must not be more than 1500 bytes when UTF-8 encoded.
+     * Cannot be `""`.
+     * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return idTypeCase_ == 3; + } /** * * @@ -1036,6 +1099,22 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+       * The auto-allocated ID of the entity.
+       * Never equal to zero. Values less than zero are discouraged and may not
+       * be supported in the future.
+       * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return idTypeCase_ == 2; + } /** * * @@ -1097,6 +1176,24 @@ public Builder clearId() { return this; } + /** + * + * + *
+       * The name of the entity.
+       * A name matching regex `__.*__` is reserved/read-only.
+       * A name must not be more than 1500 bytes when UTF-8 encoded.
+       * Cannot be `""`.
+       * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return idTypeCase_ == 3; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java index 28f09efd..631e87c1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java @@ -5118,6 +5118,20 @@ public interface TaggedFieldOrBuilder */ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); + /** + * + * + *
+       * A column can be tagged with a custom tag. In this case, the user must
+       * indicate an auxiliary table that contains statistical information on
+       * the possible values of this column (below).
+       * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + boolean hasCustomTag(); /** * * @@ -5490,6 +5504,22 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { } public static final int CUSTOM_TAG_FIELD_NUMBER = 3; + /** + * + * + *
+       * A column can be tagged with a custom tag. In this case, the user must
+       * indicate an auxiliary table that contains statistical information on
+       * the possible values of this column (below).
+       * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + public boolean hasCustomTag() { + return tagCase_ == 3; + } /** * * @@ -6499,6 +6529,23 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { return infoTypeBuilder_; } + /** + * + * + *
+         * A column can be tagged with a custom tag. In this case, the user must
+         * indicate an auxiliary table that contains statistical information on
+         * the possible values of this column (below).
+         * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + @java.lang.Override + public boolean hasCustomTag() { + return tagCase_ == 3; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java index b8486a3f..4b2ecaa9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java @@ -316,6 +316,22 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { } public static final int CUSTOM_TAG_FIELD_NUMBER = 3; + /** + * + * + *
+   * A column can be tagged with a custom tag. In this case, the user must
+   * indicate an auxiliary table that contains statistical information on
+   * the possible values of this column (below).
+   * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + public boolean hasCustomTag() { + return tagCase_ == 3; + } /** * * @@ -1292,6 +1308,23 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { return infoTypeBuilder_; } + /** + * + * + *
+     * A column can be tagged with a custom tag. In this case, the user must
+     * indicate an auxiliary table that contains statistical information on
+     * the possible values of this column (below).
+     * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + @java.lang.Override + public boolean hasCustomTag() { + return tagCase_ == 3; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java index e7b9fed5..e31f11d4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java @@ -108,6 +108,20 @@ public interface QuasiIdOrBuilder */ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); + /** + * + * + *
+   * A column can be tagged with a custom tag. In this case, the user must
+   * indicate an auxiliary table that contains statistical information on
+   * the possible values of this column (below).
+   * 
+ * + * string custom_tag = 3; + * + * @return Whether the customTag field is set. + */ + boolean hasCustomTag(); /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java index 404d3c7b..9b554910 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java @@ -225,6 +225,19 @@ public interface ImageRedactionConfigOrBuilder */ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); + /** + * + * + *
+     * If true, all text found in the image, regardless whether it matches an
+     * info_type, is redacted. Only one should be provided.
+     * 
+ * + * bool redact_all_text = 2; + * + * @return Whether the redactAllText field is set. + */ + boolean hasRedactAllText(); /** * * @@ -509,6 +522,22 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { } public static final int REDACT_ALL_TEXT_FIELD_NUMBER = 2; + /** + * + * + *
+     * If true, all text found in the image, regardless whether it matches an
+     * info_type, is redacted. Only one should be provided.
+     * 
+ * + * bool redact_all_text = 2; + * + * @return Whether the redactAllText field is set. + */ + @java.lang.Override + public boolean hasRedactAllText() { + return targetCase_ == 2; + } /** * * @@ -1238,6 +1267,21 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { return infoTypeBuilder_; } + /** + * + * + *
+       * If true, all text found in the image, regardless whether it matches an
+       * info_type, is redacted. Only one should be provided.
+       * 
+ * + * bool redact_all_text = 2; + * + * @return Whether the redactAllText field is set. + */ + public boolean hasRedactAllText() { + return targetCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java index 83338e72..7a7959dd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java @@ -246,6 +246,21 @@ public TypeCase getTypeCase() { } public static final int INTEGER_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+   * integer
+   * 
+ * + * int64 integer_value = 1; + * + * @return Whether the integerValue field is set. + */ + @java.lang.Override + public boolean hasIntegerValue() { + return typeCase_ == 1; + } /** * * @@ -266,6 +281,21 @@ public long getIntegerValue() { } public static final int FLOAT_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * float
+   * 
+ * + * double float_value = 2; + * + * @return Whether the floatValue field is set. + */ + @java.lang.Override + public boolean hasFloatValue() { + return typeCase_ == 2; + } /** * * @@ -286,6 +316,20 @@ public double getFloatValue() { } public static final int STRING_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * string
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return typeCase_ == 3; + } /** * * @@ -342,6 +386,21 @@ public com.google.protobuf.ByteString getStringValueBytes() { } public static final int BOOLEAN_VALUE_FIELD_NUMBER = 4; + /** + * + * + *
+   * boolean
+   * 
+ * + * bool boolean_value = 4; + * + * @return Whether the booleanValue field is set. + */ + @java.lang.Override + public boolean hasBooleanValue() { + return typeCase_ == 4; + } /** * * @@ -515,6 +574,20 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } public static final int DAY_OF_WEEK_VALUE_FIELD_NUMBER = 8; + /** + * + * + *
+   * day of week
+   * 
+ * + * .google.type.DayOfWeek day_of_week_value = 8; + * + * @return Whether the dayOfWeekValue field is set. + */ + public boolean hasDayOfWeekValue() { + return typeCase_ == 8; + } /** * * @@ -1083,6 +1156,20 @@ public Builder clearType() { return this; } + /** + * + * + *
+     * integer
+     * 
+ * + * int64 integer_value = 1; + * + * @return Whether the integerValue field is set. + */ + public boolean hasIntegerValue() { + return typeCase_ == 1; + } /** * * @@ -1138,6 +1225,20 @@ public Builder clearIntegerValue() { return this; } + /** + * + * + *
+     * float
+     * 
+ * + * double float_value = 2; + * + * @return Whether the floatValue field is set. + */ + public boolean hasFloatValue() { + return typeCase_ == 2; + } /** * * @@ -1193,6 +1294,21 @@ public Builder clearFloatValue() { return this; } + /** + * + * + *
+     * string
+     * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return typeCase_ == 3; + } /** * * @@ -1312,6 +1428,20 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * boolean
+     * 
+ * + * bool boolean_value = 4; + * + * @return Whether the booleanValue field is set. + */ + public boolean hasBooleanValue() { + return typeCase_ == 4; + } /** * * @@ -1973,6 +2103,21 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { return dateValueBuilder_; } + /** + * + * + *
+     * day of week
+     * 
+ * + * .google.type.DayOfWeek day_of_week_value = 8; + * + * @return Whether the dayOfWeekValue field is set. + */ + @java.lang.Override + public boolean hasDayOfWeekValue() { + return typeCase_ == 8; + } /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java index 01bb4afa..1039cebb 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java @@ -23,6 +23,18 @@ public interface ValueOrBuilder // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Value) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * integer
+   * 
+ * + * int64 integer_value = 1; + * + * @return Whether the integerValue field is set. + */ + boolean hasIntegerValue(); /** * * @@ -36,6 +48,18 @@ public interface ValueOrBuilder */ long getIntegerValue(); + /** + * + * + *
+   * float
+   * 
+ * + * double float_value = 2; + * + * @return Whether the floatValue field is set. + */ + boolean hasFloatValue(); /** * * @@ -49,6 +73,18 @@ public interface ValueOrBuilder */ double getFloatValue(); + /** + * + * + *
+   * string
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * @@ -74,6 +110,18 @@ public interface ValueOrBuilder */ com.google.protobuf.ByteString getStringValueBytes(); + /** + * + * + *
+   * boolean
+   * 
+ * + * bool boolean_value = 4; + * + * @return Whether the booleanValue field is set. + */ + boolean hasBooleanValue(); /** * * @@ -192,6 +240,18 @@ public interface ValueOrBuilder */ com.google.type.DateOrBuilder getDateValueOrBuilder(); + /** + * + * + *
+   * day of week
+   * 
+ * + * .google.type.DayOfWeek day_of_week_value = 8; + * + * @return Whether the dayOfWeekValue field is set. + */ + boolean hasDayOfWeekValue(); /** * * diff --git a/synth.metadata b/synth.metadata index 2893c5a3..f286a318 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dlp.git", - "sha": "54a5ffcdcd7220aecd8a791376e823b45208ec56" + "sha": "eb2107054a2af309b102ddd49532c2363c526384" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {