getGroupIndexesList() {
return groupIndexes_;
}
@@ -3408,7 +3427,7 @@ public interface SurrogateTypeOrBuilder
*
* Message for detecting output from deidentification transformations
* such as
- * [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+ * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
* These types of transformations are
* those that perform pseudonymization, thereby producing a "surrogate" as
* output. This should be used in conjunction with a field on the
@@ -3651,7 +3670,7 @@ protected Builder newBuilderForType(
*
* Message for detecting output from deidentification transformations
* such as
- * [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+ * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
* These types of transformations are
* those that perform pseudonymization, thereby producing a "surrogate" as
* output. This should be used in conjunction with a field on the
@@ -4153,6 +4172,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The windowBefore.
*/
+ @java.lang.Override
public int getWindowBefore() {
return windowBefore_;
}
@@ -4170,6 +4190,7 @@ public int getWindowBefore() {
*
* @return The windowAfter.
*/
+ @java.lang.Override
public int getWindowAfter() {
return windowAfter_;
}
@@ -4533,6 +4554,7 @@ public Builder mergeFrom(
*
* @return The windowBefore.
*/
+ @java.lang.Override
public int getWindowBefore() {
return windowBefore_;
}
@@ -4584,6 +4606,7 @@ public Builder clearWindowBefore() {
*
* @return The windowAfter.
*/
+ @java.lang.Override
public int getWindowAfter() {
return windowAfter_;
}
@@ -4937,6 +4960,7 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
*
* @return The relativeLikelihood.
*/
+ @java.lang.Override
public int getRelativeLikelihood() {
if (adjustmentCase_ == 2) {
return (java.lang.Integer) adjustment_;
@@ -5366,6 +5390,7 @@ public Builder clearAdjustment() {
*
* @return The enum numeric value on the wire for fixedLikelihood.
*/
+ @java.lang.Override
public int getFixedLikelihoodValue() {
if (adjustmentCase_ == 1) {
return ((java.lang.Integer) adjustment_).intValue();
@@ -5401,6 +5426,7 @@ public Builder setFixedLikelihoodValue(int value) {
*
* @return The fixedLikelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
if (adjustmentCase_ == 1) {
@SuppressWarnings("deprecation")
@@ -5878,6 +5904,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the hotwordRegex field is set.
*/
+ @java.lang.Override
public boolean hasHotwordRegex() {
return hotwordRegex_ != null;
}
@@ -5892,6 +5919,7 @@ public boolean hasHotwordRegex() {
*
* @return The hotwordRegex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() {
return hotwordRegex_ == null
? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()
@@ -5906,6 +5934,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() {
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder() {
return getHotwordRegex();
}
@@ -5930,6 +5959,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
*
* @return Whether the proximity field is set.
*/
+ @java.lang.Override
public boolean hasProximity() {
return proximity_ != null;
}
@@ -5951,6 +5981,7 @@ public boolean hasProximity() {
*
* @return The proximity.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() {
return proximity_ == null
? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance()
@@ -5972,6 +6003,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
getProximityOrBuilder() {
return getProximity();
@@ -5993,6 +6025,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
*
* @return Whether the likelihoodAdjustment field is set.
*/
+ @java.lang.Override
public boolean hasLikelihoodAdjustment() {
return likelihoodAdjustment_ != null;
}
@@ -6009,6 +6042,7 @@ public boolean hasLikelihoodAdjustment() {
*
* @return The likelihoodAdjustment.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
getLikelihoodAdjustment() {
return likelihoodAdjustment_ == null
@@ -6027,6 +6061,7 @@ public boolean hasLikelihoodAdjustment() {
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder
getLikelihoodAdjustmentOrBuilder() {
return getLikelihoodAdjustment();
@@ -7209,6 +7244,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the hotwordRule field is set.
*/
+ @java.lang.Override
public boolean hasHotwordRule() {
return typeCase_ == 1;
}
@@ -7224,6 +7260,7 @@ public boolean hasHotwordRule() {
*
* @return The hotwordRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_;
@@ -7241,6 +7278,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder() {
if (typeCase_ == 1) {
@@ -7637,6 +7675,7 @@ public Builder clearType() {
*
* @return Whether the hotwordRule field is set.
*/
+ @java.lang.Override
public boolean hasHotwordRule() {
return typeCase_ == 1;
}
@@ -7652,6 +7691,7 @@ public boolean hasHotwordRule() {
*
* @return The hotwordRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (hotwordRuleBuilder_ == null) {
if (typeCase_ == 1) {
@@ -7798,6 +7838,7 @@ public Builder clearHotwordRule() {
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder() {
if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) {
@@ -7970,6 +8011,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return infoType_ != null;
}
@@ -7989,6 +8031,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
}
@@ -8006,6 +8049,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
return getInfoType();
}
@@ -8025,6 +8069,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The enum numeric value on the wire for likelihood.
*/
+ @java.lang.Override
public int getLikelihoodValue() {
return likelihood_;
}
@@ -8041,6 +8086,7 @@ public int getLikelihoodValue() {
*
* @return The likelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -8060,6 +8106,7 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 2;
}
@@ -8074,6 +8121,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -8089,6 +8137,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -8108,6 +8157,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 3;
}
@@ -8122,6 +8172,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -8137,6 +8188,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -8157,6 +8209,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
* @return Whether the surrogateType field is set.
*/
+ @java.lang.Override
public boolean hasSurrogateType() {
return typeCase_ == 4;
}
@@ -8172,6 +8225,7 @@ public boolean hasSurrogateType() {
*
* @return The surrogateType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_;
@@ -8188,6 +8242,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType()
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
getSurrogateTypeOrBuilder() {
if (typeCase_ == 4) {
@@ -8209,6 +8264,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType()
*
* @return Whether the storedType field is set.
*/
+ @java.lang.Override
public boolean hasStoredType() {
return typeCase_ == 5;
}
@@ -8224,6 +8280,7 @@ public boolean hasStoredType() {
*
* @return The storedType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredType getStoredType() {
if (typeCase_ == 5) {
return (com.google.privacy.dlp.v2.StoredType) type_;
@@ -8240,6 +8297,7 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() {
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
if (typeCase_ == 5) {
return (com.google.privacy.dlp.v2.StoredType) type_;
@@ -8260,6 +8318,7 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
*/
+ @java.lang.Override
public java.util.List
getDetectionRulesList() {
return detectionRules_;
@@ -8275,6 +8334,7 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>
getDetectionRulesOrBuilderList() {
return detectionRules_;
@@ -8290,6 +8350,7 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
*/
+ @java.lang.Override
public int getDetectionRulesCount() {
return detectionRules_.size();
}
@@ -8304,6 +8365,7 @@ public int getDetectionRulesCount() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index) {
return detectionRules_.get(index);
}
@@ -8318,6 +8380,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(
*
* repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRulesOrBuilder(
int index) {
return detectionRules_.get(index);
@@ -8337,6 +8400,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetect
*
* @return The enum numeric value on the wire for exclusionType.
*/
+ @java.lang.Override
public int getExclusionTypeValue() {
return exclusionType_;
}
@@ -8352,6 +8416,7 @@ public int getExclusionTypeValue() {
*
* @return The exclusionType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result =
@@ -9165,6 +9230,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The enum numeric value on the wire for likelihood.
*/
+ @java.lang.Override
public int getLikelihoodValue() {
return likelihood_;
}
@@ -9183,6 +9249,7 @@ public int getLikelihoodValue() {
* @return This builder for chaining.
*/
public Builder setLikelihoodValue(int value) {
+
likelihood_ = value;
onChanged();
return this;
@@ -9200,6 +9267,7 @@ public Builder setLikelihoodValue(int value) {
*
* @return The likelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -9265,6 +9333,7 @@ public Builder clearLikelihood() {
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 2;
}
@@ -9279,6 +9348,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (dictionaryBuilder_ == null) {
if (typeCase_ == 2) {
@@ -9411,6 +9481,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if ((typeCase_ == 2) && (dictionaryBuilder_ != null)) {
return dictionaryBuilder_.getMessageOrBuilder();
@@ -9471,6 +9542,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 3;
}
@@ -9485,6 +9557,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (regexBuilder_ == null) {
if (typeCase_ == 3) {
@@ -9617,6 +9690,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder()
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if ((typeCase_ == 3) && (regexBuilder_ != null)) {
return regexBuilder_.getMessageOrBuilder();
@@ -9678,6 +9752,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
* @return Whether the surrogateType field is set.
*/
+ @java.lang.Override
public boolean hasSurrogateType() {
return typeCase_ == 4;
}
@@ -9693,6 +9768,7 @@ public boolean hasSurrogateType() {
*
* @return The surrogateType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() {
if (surrogateTypeBuilder_ == null) {
if (typeCase_ == 4) {
@@ -9834,6 +9910,7 @@ public Builder clearSurrogateType() {
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
getSurrogateTypeOrBuilder() {
if ((typeCase_ == 4) && (surrogateTypeBuilder_ != null)) {
@@ -9897,6 +9974,7 @@ public Builder clearSurrogateType() {
*
* @return Whether the storedType field is set.
*/
+ @java.lang.Override
public boolean hasStoredType() {
return typeCase_ == 5;
}
@@ -9912,6 +9990,7 @@ public boolean hasStoredType() {
*
* @return The storedType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredType getStoredType() {
if (storedTypeBuilder_ == null) {
if (typeCase_ == 5) {
@@ -10048,6 +10127,7 @@ public com.google.privacy.dlp.v2.StoredType.Builder getStoredTypeBuilder() {
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
if ((typeCase_ == 5) && (storedTypeBuilder_ != null)) {
return storedTypeBuilder_.getMessageOrBuilder();
@@ -10522,6 +10602,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetecti
*
* @return The enum numeric value on the wire for exclusionType.
*/
+ @java.lang.Override
public int getExclusionTypeValue() {
return exclusionType_;
}
@@ -10539,6 +10620,7 @@ public int getExclusionTypeValue() {
* @return This builder for chaining.
*/
public Builder setExclusionTypeValue(int value) {
+
exclusionType_ = value;
onChanged();
return this;
@@ -10555,6 +10637,7 @@ public Builder setExclusionTypeValue(int value) {
*
* @return The exclusionType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
index 8bb70226..4a8b37fd 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the entityKey field is set.
*/
+ @java.lang.Override
public boolean hasEntityKey() {
return entityKey_ != null;
}
@@ -144,6 +145,7 @@ public boolean hasEntityKey() {
*
* @return The entityKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Key getEntityKey() {
return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_;
}
@@ -156,6 +158,7 @@ public com.google.privacy.dlp.v2.Key getEntityKey() {
*
* .google.privacy.dlp.v2.Key entity_key = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() {
return getEntityKey();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
index 5d777291..396091ae 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
@@ -148,6 +148,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the partitionId field is set.
*/
+ @java.lang.Override
public boolean hasPartitionId() {
return partitionId_ != null;
}
@@ -163,6 +164,7 @@ public boolean hasPartitionId() {
*
* @return The partitionId.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
return partitionId_ == null
? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
@@ -178,6 +180,7 @@ public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder() {
return getPartitionId();
}
@@ -195,6 +198,7 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
*
* @return Whether the kind field is set.
*/
+ @java.lang.Override
public boolean hasKind() {
return kind_ != null;
}
@@ -209,6 +213,7 @@ public boolean hasKind() {
*
* @return The kind.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.KindExpression getKind() {
return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_;
}
@@ -221,6 +226,7 @@ public com.google.privacy.dlp.v2.KindExpression getKind() {
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() {
return getKind();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
index 19c3fc98..0aab7d03 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
@@ -205,6 +205,7 @@ public MethodCase getMethodCase() {
*
* @return The upperBoundDays.
*/
+ @java.lang.Override
public int getUpperBoundDays() {
return upperBoundDays_;
}
@@ -223,6 +224,7 @@ public int getUpperBoundDays() {
*
* @return The lowerBoundDays.
*/
+ @java.lang.Override
public int getLowerBoundDays() {
return lowerBoundDays_;
}
@@ -242,6 +244,7 @@ public int getLowerBoundDays() {
*
* @return Whether the context field is set.
*/
+ @java.lang.Override
public boolean hasContext() {
return context_ != null;
}
@@ -258,6 +261,7 @@ public boolean hasContext() {
*
* @return The context.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getContext() {
return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
}
@@ -272,6 +276,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() {
*
* .google.privacy.dlp.v2.FieldId context = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
return getContext();
}
@@ -290,6 +295,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
* @return Whether the cryptoKey field is set.
*/
+ @java.lang.Override
public boolean hasCryptoKey() {
return methodCase_ == 4;
}
@@ -306,6 +312,7 @@ public boolean hasCryptoKey() {
*
* @return The cryptoKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (methodCase_ == 4) {
return (com.google.privacy.dlp.v2.CryptoKey) method_;
@@ -323,6 +330,7 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
if (methodCase_ == 4) {
return (com.google.privacy.dlp.v2.CryptoKey) method_;
@@ -764,6 +772,7 @@ public Builder clearMethod() {
*
* @return The upperBoundDays.
*/
+ @java.lang.Override
public int getUpperBoundDays() {
return upperBoundDays_;
}
@@ -822,6 +831,7 @@ public Builder clearUpperBoundDays() {
*
* @return The lowerBoundDays.
*/
+ @java.lang.Override
public int getLowerBoundDays() {
return lowerBoundDays_;
}
@@ -1080,6 +1090,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
* @return Whether the cryptoKey field is set.
*/
+ @java.lang.Override
public boolean hasCryptoKey() {
return methodCase_ == 4;
}
@@ -1096,6 +1107,7 @@ public boolean hasCryptoKey() {
*
* @return The cryptoKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (cryptoKeyBuilder_ == null) {
if (methodCase_ == 4) {
@@ -1239,6 +1251,7 @@ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() {
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
if ((methodCase_ == 4) && (cryptoKeyBuilder_ != null)) {
return cryptoKeyBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
index 14d4d413..0ba445ab 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
@@ -278,6 +278,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The offsetMinutes.
*/
+ @java.lang.Override
public int getOffsetMinutes() {
return offsetMinutes_;
}
@@ -614,6 +615,7 @@ public Builder mergeFrom(
*
* @return The offsetMinutes.
*/
+ @java.lang.Override
public int getOffsetMinutes() {
return offsetMinutes_;
}
@@ -721,6 +723,7 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstanceForType() {
*
* @return Whether the date field is set.
*/
+ @java.lang.Override
public boolean hasDate() {
return date_ != null;
}
@@ -736,6 +739,7 @@ public boolean hasDate() {
*
* @return The date.
*/
+ @java.lang.Override
public com.google.type.Date getDate() {
return date_ == null ? com.google.type.Date.getDefaultInstance() : date_;
}
@@ -749,6 +753,7 @@ public com.google.type.Date getDate() {
*
* .google.type.Date date = 1;
*/
+ @java.lang.Override
public com.google.type.DateOrBuilder getDateOrBuilder() {
return getDate();
}
@@ -766,6 +771,7 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
*
* @return The enum numeric value on the wire for dayOfWeek.
*/
+ @java.lang.Override
public int getDayOfWeekValue() {
return dayOfWeek_;
}
@@ -780,6 +786,7 @@ public int getDayOfWeekValue() {
*
* @return The dayOfWeek.
*/
+ @java.lang.Override
public com.google.type.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_);
@@ -799,6 +806,7 @@ public com.google.type.DayOfWeek getDayOfWeek() {
*
* @return Whether the time field is set.
*/
+ @java.lang.Override
public boolean hasTime() {
return time_ != null;
}
@@ -813,6 +821,7 @@ public boolean hasTime() {
*
* @return The time.
*/
+ @java.lang.Override
public com.google.type.TimeOfDay getTime() {
return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_;
}
@@ -825,6 +834,7 @@ public com.google.type.TimeOfDay getTime() {
*
* .google.type.TimeOfDay time = 3;
*/
+ @java.lang.Override
public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() {
return getTime();
}
@@ -842,6 +852,7 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() {
*
* @return Whether the timeZone field is set.
*/
+ @java.lang.Override
public boolean hasTimeZone() {
return timeZone_ != null;
}
@@ -856,6 +867,7 @@ public boolean hasTimeZone() {
*
* @return The timeZone.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() {
return timeZone_ == null
? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance()
@@ -870,6 +882,7 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() {
*
* .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder() {
return getTimeZone();
}
@@ -1464,6 +1477,7 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
*
* @return The enum numeric value on the wire for dayOfWeek.
*/
+ @java.lang.Override
public int getDayOfWeekValue() {
return dayOfWeek_;
}
@@ -1480,6 +1494,7 @@ public int getDayOfWeekValue() {
* @return This builder for chaining.
*/
public Builder setDayOfWeekValue(int value) {
+
dayOfWeek_ = value;
onChanged();
return this;
@@ -1495,6 +1510,7 @@ public Builder setDayOfWeekValue(int value) {
*
* @return The dayOfWeek.
*/
+ @java.lang.Override
public com.google.type.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_);
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
index 6b8bbb7b..663a5fc2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
@@ -217,6 +217,7 @@ public TransformationCase getTransformationCase() {
*
* @return Whether the infoTypeTransformations field is set.
*/
+ @java.lang.Override
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 1;
}
@@ -232,6 +233,7 @@ public boolean hasInfoTypeTransformations() {
*
* @return The infoTypeTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (transformationCase_ == 1) {
return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
@@ -248,6 +250,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
getInfoTypeTransformationsOrBuilder() {
if (transformationCase_ == 1) {
@@ -270,6 +273,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
*
* @return Whether the recordTransformations field is set.
*/
+ @java.lang.Override
public boolean hasRecordTransformations() {
return transformationCase_ == 2;
}
@@ -286,6 +290,7 @@ public boolean hasRecordTransformations() {
*
* @return The recordTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() {
if (transformationCase_ == 2) {
return (com.google.privacy.dlp.v2.RecordTransformations) transformation_;
@@ -303,6 +308,7 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
getRecordTransformationsOrBuilder() {
if (transformationCase_ == 2) {
@@ -326,6 +332,7 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(
*
* @return Whether the transformationErrorHandling field is set.
*/
+ @java.lang.Override
public boolean hasTransformationErrorHandling() {
return transformationErrorHandling_ != null;
}
@@ -342,6 +349,7 @@ public boolean hasTransformationErrorHandling() {
*
* @return The transformationErrorHandling.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling() {
return transformationErrorHandling_ == null
? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance()
@@ -358,6 +366,7 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationEr
* .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder
getTransformationErrorHandlingOrBuilder() {
return getTransformationErrorHandling();
@@ -797,6 +806,7 @@ public Builder clearTransformation() {
*
* @return Whether the infoTypeTransformations field is set.
*/
+ @java.lang.Override
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 1;
}
@@ -812,6 +822,7 @@ public boolean hasInfoTypeTransformations() {
*
* @return The infoTypeTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (infoTypeTransformationsBuilder_ == null) {
if (transformationCase_ == 1) {
@@ -954,6 +965,7 @@ public Builder clearInfoTypeTransformations() {
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
getInfoTypeTransformationsOrBuilder() {
if ((transformationCase_ == 1) && (infoTypeTransformationsBuilder_ != null)) {
@@ -1018,6 +1030,7 @@ public Builder clearInfoTypeTransformations() {
*
* @return Whether the recordTransformations field is set.
*/
+ @java.lang.Override
public boolean hasRecordTransformations() {
return transformationCase_ == 2;
}
@@ -1034,6 +1047,7 @@ public boolean hasRecordTransformations() {
*
* @return The recordTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() {
if (recordTransformationsBuilder_ == null) {
if (transformationCase_ == 2) {
@@ -1181,6 +1195,7 @@ public Builder clearRecordTransformations() {
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
getRecordTransformationsOrBuilder() {
if ((transformationCase_ == 2) && (recordTransformationsBuilder_ != null)) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
index 03db1e69..acf2cfe2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
@@ -197,6 +197,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -220,6 +221,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -247,6 +249,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return Whether the deidentifyConfig field is set.
*/
+ @java.lang.Override
public boolean hasDeidentifyConfig() {
return deidentifyConfig_ != null;
}
@@ -263,6 +266,7 @@ public boolean hasDeidentifyConfig() {
*
* @return The deidentifyConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
return deidentifyConfig_ == null
? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
@@ -279,6 +283,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder() {
return getDeidentifyConfig();
}
@@ -298,6 +303,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -314,6 +320,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -330,6 +337,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
@@ -347,6 +355,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -361,6 +370,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -373,6 +383,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -394,6 +405,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return The inspectTemplateName.
*/
+ @java.lang.Override
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -420,6 +432,7 @@ public java.lang.String getInspectTemplateName() {
*
* @return The bytes for inspectTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -449,6 +462,7 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
* @return The deidentifyTemplateName.
*/
+ @java.lang.Override
public java.lang.String getDeidentifyTemplateName() {
java.lang.Object ref = deidentifyTemplateName_;
if (ref instanceof java.lang.String) {
@@ -475,6 +489,7 @@ public java.lang.String getDeidentifyTemplateName() {
*
* @return The bytes for deidentifyTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
java.lang.Object ref = deidentifyTemplateName_;
if (ref instanceof java.lang.String) {
@@ -500,6 +515,7 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -522,6 +538,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
index 57c1ca15..a56fbc59 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
@@ -147,6 +147,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -161,6 +162,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -173,6 +175,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -190,6 +193,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return Whether the overview field is set.
*/
+ @java.lang.Override
public boolean hasOverview() {
return overview_ != null;
}
@@ -204,6 +208,7 @@ public boolean hasOverview() {
*
* @return The overview.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
return overview_ == null
? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()
@@ -218,6 +223,7 @@ public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBuilder() {
return getOverview();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
index 77df0a31..b1463da8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
@@ -190,6 +190,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -215,6 +216,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -240,6 +242,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The displayName.
*/
+ @java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -262,6 +265,7 @@ public java.lang.String getDisplayName() {
*
* @return The bytes for displayName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -287,6 +291,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -309,6 +314,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -335,6 +341,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -350,6 +357,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -363,6 +371,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -381,6 +390,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return Whether the updateTime field is set.
*/
+ @java.lang.Override
public boolean hasUpdateTime() {
return updateTime_ != null;
}
@@ -396,6 +406,7 @@ public boolean hasUpdateTime() {
*
* @return The updateTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
@@ -409,6 +420,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
* .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
return getUpdateTime();
}
@@ -426,6 +438,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
* @return Whether the deidentifyConfig field is set.
*/
+ @java.lang.Override
public boolean hasDeidentifyConfig() {
return deidentifyConfig_ != null;
}
@@ -440,6 +453,7 @@ public boolean hasDeidentifyConfig() {
*
* @return The deidentifyConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
return deidentifyConfig_ == null
? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
@@ -454,6 +468,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder() {
return getDeidentifyConfig();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
index b7f29d6e..ea2df563 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -157,6 +158,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
index 36e25330..9f94407e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
@@ -126,6 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -150,6 +151,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
index 9e9f8057..c60d0861 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
index 8721aba7..fe0ab342 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
@@ -127,6 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -152,6 +153,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
index 51de30f4..419809c2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
index 2e343949..d8a1406d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
@@ -448,6 +448,10 @@ public JobState findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -540,6 +544,7 @@ public DetailsCase getDetailsCase() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -562,6 +567,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -587,6 +593,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -601,6 +608,7 @@ public int getTypeValue() {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJobType result =
@@ -621,6 +629,7 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
* @return The enum numeric value on the wire for state.
*/
+ @java.lang.Override
public int getStateValue() {
return state_;
}
@@ -635,6 +644,7 @@ public int getStateValue() {
*
* @return The state.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJob.JobState result =
@@ -654,6 +664,7 @@ public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
*
* @return Whether the riskDetails field is set.
*/
+ @java.lang.Override
public boolean hasRiskDetails() {
return detailsCase_ == 4;
}
@@ -668,6 +679,7 @@ public boolean hasRiskDetails() {
*
* @return The riskDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() {
if (detailsCase_ == 4) {
return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_;
@@ -683,6 +695,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder() {
if (detailsCase_ == 4) {
return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_;
@@ -702,6 +715,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDe
*
* @return Whether the inspectDetails field is set.
*/
+ @java.lang.Override
public boolean hasInspectDetails() {
return detailsCase_ == 5;
}
@@ -716,6 +730,7 @@ public boolean hasInspectDetails() {
*
* @return The inspectDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() {
if (detailsCase_ == 5) {
return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_;
@@ -731,6 +746,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() {
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder() {
if (detailsCase_ == 5) {
return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_;
@@ -751,6 +767,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -765,6 +782,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -777,6 +795,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
* .google.protobuf.Timestamp create_time = 6;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -794,6 +813,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return Whether the startTime field is set.
*/
+ @java.lang.Override
public boolean hasStartTime() {
return startTime_ != null;
}
@@ -808,6 +828,7 @@ public boolean hasStartTime() {
*
* @return The startTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
@@ -820,6 +841,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*
* .google.protobuf.Timestamp start_time = 7;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
return getStartTime();
}
@@ -837,6 +859,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
* @return Whether the endTime field is set.
*/
+ @java.lang.Override
public boolean hasEndTime() {
return endTime_ != null;
}
@@ -851,6 +874,7 @@ public boolean hasEndTime() {
*
* @return The endTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
@@ -863,6 +887,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*
* .google.protobuf.Timestamp end_time = 8;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return getEndTime();
}
@@ -881,6 +906,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
* @return The jobTriggerName.
*/
+ @java.lang.Override
public java.lang.String getJobTriggerName() {
java.lang.Object ref = jobTriggerName_;
if (ref instanceof java.lang.String) {
@@ -904,6 +930,7 @@ public java.lang.String getJobTriggerName() {
*
* @return The bytes for jobTriggerName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getJobTriggerNameBytes() {
java.lang.Object ref = jobTriggerName_;
if (ref instanceof java.lang.String) {
@@ -927,6 +954,7 @@ public com.google.protobuf.ByteString getJobTriggerNameBytes() {
*
* repeated .google.privacy.dlp.v2.Error errors = 11;
*/
+ @java.lang.Override
public java.util.List getErrorsList() {
return errors_;
}
@@ -939,6 +967,7 @@ public java.util.List getErrorsList() {
*
* repeated .google.privacy.dlp.v2.Error errors = 11;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ErrorOrBuilder>
getErrorsOrBuilderList() {
return errors_;
@@ -952,6 +981,7 @@ public java.util.List getErrorsList() {
*
* repeated .google.privacy.dlp.v2.Error errors = 11;
*/
+ @java.lang.Override
public int getErrorsCount() {
return errors_.size();
}
@@ -964,6 +994,7 @@ public int getErrorsCount() {
*
* repeated .google.privacy.dlp.v2.Error errors = 11;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Error getErrors(int index) {
return errors_.get(index);
}
@@ -976,6 +1007,7 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
*
* repeated .google.privacy.dlp.v2.Error errors = 11;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
return errors_.get(index);
}
@@ -1685,6 +1717,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -1701,6 +1734,7 @@ public int getTypeValue() {
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
@@ -1716,6 +1750,7 @@ public Builder setTypeValue(int value) {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJobType result =
@@ -1773,6 +1808,7 @@ public Builder clearType() {
*
* @return The enum numeric value on the wire for state.
*/
+ @java.lang.Override
public int getStateValue() {
return state_;
}
@@ -1789,6 +1825,7 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
+
state_ = value;
onChanged();
return this;
@@ -1804,6 +1841,7 @@ public Builder setStateValue(int value) {
*
* @return The state.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJob.JobState result =
@@ -1865,6 +1903,7 @@ public Builder clearState() {
*
* @return Whether the riskDetails field is set.
*/
+ @java.lang.Override
public boolean hasRiskDetails() {
return detailsCase_ == 4;
}
@@ -1879,6 +1918,7 @@ public boolean hasRiskDetails() {
*
* @return The riskDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() {
if (riskDetailsBuilder_ == null) {
if (detailsCase_ == 4) {
@@ -2012,6 +2052,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder
getRiskDetailsOrBuilder() {
if ((detailsCase_ == 4) && (riskDetailsBuilder_ != null)) {
@@ -2073,6 +2114,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet
*
* @return Whether the inspectDetails field is set.
*/
+ @java.lang.Override
public boolean hasInspectDetails() {
return detailsCase_ == 5;
}
@@ -2087,6 +2129,7 @@ public boolean hasInspectDetails() {
*
* @return The inspectDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() {
if (inspectDetailsBuilder_ == null) {
if (detailsCase_ == 5) {
@@ -2220,6 +2263,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder
getInspectDetailsOrBuilder() {
if ((detailsCase_ == 5) && (inspectDetailsBuilder_ != null)) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
index dea2cf03..70bc7f8d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
@@ -139,6 +139,10 @@ public DlpJobType findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
index 2cb2e154..8362b9c0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
@@ -121,6 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The fileOffset.
*/
+ @java.lang.Override
public long getFileOffset() {
return fileOffset_;
}
@@ -453,6 +454,7 @@ public Builder mergeFrom(
*
* @return The fileOffset.
*/
+ @java.lang.Override
public long getFileOffset() {
return fileOffset_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
index 8948e3ac..19589d4b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
@@ -134,6 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -148,6 +149,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -160,6 +162,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
index 0158f607..99e163b9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
@@ -145,6 +145,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the details field is set.
*/
+ @java.lang.Override
public boolean hasDetails() {
return details_ != null;
}
@@ -159,6 +160,7 @@ public boolean hasDetails() {
*
* @return The details.
*/
+ @java.lang.Override
public com.google.rpc.Status getDetails() {
return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_;
}
@@ -171,6 +173,7 @@ public com.google.rpc.Status getDetails() {
*
* .google.rpc.Status details = 1;
*/
+ @java.lang.Override
public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() {
return getDetails();
}
@@ -186,6 +189,7 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() {
*
* repeated .google.protobuf.Timestamp timestamps = 2;
*/
+ @java.lang.Override
public java.util.List getTimestampsList() {
return timestamps_;
}
@@ -198,6 +202,7 @@ public java.util.List getTimestampsList() {
*
* repeated .google.protobuf.Timestamp timestamps = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.protobuf.TimestampOrBuilder>
getTimestampsOrBuilderList() {
return timestamps_;
@@ -211,6 +216,7 @@ public java.util.List getTimestampsList() {
*
* repeated .google.protobuf.Timestamp timestamps = 2;
*/
+ @java.lang.Override
public int getTimestampsCount() {
return timestamps_.size();
}
@@ -223,6 +229,7 @@ public int getTimestampsCount() {
*
* repeated .google.protobuf.Timestamp timestamps = 2;
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getTimestamps(int index) {
return timestamps_.get(index);
}
@@ -235,6 +242,7 @@ public com.google.protobuf.Timestamp getTimestamps(int index) {
*
* repeated .google.protobuf.Timestamp timestamps = 2;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) {
return timestamps_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
index c8e6ffa4..f99e941d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
@@ -137,6 +137,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List getInfoTypesList() {
return infoTypes_;
}
@@ -156,6 +157,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>
getInfoTypesOrBuilderList() {
return infoTypes_;
@@ -176,6 +178,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public int getInfoTypesCount() {
return infoTypes_.size();
}
@@ -195,6 +198,7 @@ public int getInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
return infoTypes_.get(index);
}
@@ -214,6 +218,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
return infoTypes_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
index d7a2f9d5..3171b389 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
@@ -224,6 +224,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 1;
}
@@ -238,6 +239,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -253,6 +255,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -272,6 +275,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 2;
}
@@ -286,6 +290,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -301,6 +306,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -320,6 +326,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
* @return Whether the excludeInfoTypes field is set.
*/
+ @java.lang.Override
public boolean hasExcludeInfoTypes() {
return typeCase_ == 3;
}
@@ -334,6 +341,7 @@ public boolean hasExcludeInfoTypes() {
*
* @return The excludeInfoTypes.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_;
@@ -349,6 +357,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() {
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_;
@@ -369,6 +378,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr
*
* @return The enum numeric value on the wire for matchingType.
*/
+ @java.lang.Override
public int getMatchingTypeValue() {
return matchingType_;
}
@@ -383,6 +393,7 @@ public int getMatchingTypeValue() {
*
* @return The matchingType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.MatchingType getMatchingType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.MatchingType result =
@@ -836,6 +847,7 @@ public Builder clearType() {
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 1;
}
@@ -850,6 +862,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (dictionaryBuilder_ == null) {
if (typeCase_ == 1) {
@@ -982,6 +995,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if ((typeCase_ == 1) && (dictionaryBuilder_ != null)) {
return dictionaryBuilder_.getMessageOrBuilder();
@@ -1042,6 +1056,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 2;
}
@@ -1056,6 +1071,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (regexBuilder_ == null) {
if (typeCase_ == 2) {
@@ -1188,6 +1204,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder()
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if ((typeCase_ == 2) && (regexBuilder_ != null)) {
return regexBuilder_.getMessageOrBuilder();
@@ -1248,6 +1265,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
* @return Whether the excludeInfoTypes field is set.
*/
+ @java.lang.Override
public boolean hasExcludeInfoTypes() {
return typeCase_ == 3;
}
@@ -1262,6 +1280,7 @@ public boolean hasExcludeInfoTypes() {
*
* @return The excludeInfoTypes.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() {
if (excludeInfoTypesBuilder_ == null) {
if (typeCase_ == 3) {
@@ -1394,6 +1413,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder getExcludeInfoTypesBui
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder() {
if ((typeCase_ == 3) && (excludeInfoTypesBuilder_ != null)) {
return excludeInfoTypesBuilder_.getMessageOrBuilder();
@@ -1450,6 +1470,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr
*
* @return The enum numeric value on the wire for matchingType.
*/
+ @java.lang.Override
public int getMatchingTypeValue() {
return matchingType_;
}
@@ -1466,6 +1487,7 @@ public int getMatchingTypeValue() {
* @return This builder for chaining.
*/
public Builder setMatchingTypeValue(int value) {
+
matchingType_ = value;
onChanged();
return this;
@@ -1481,6 +1503,7 @@ public Builder setMatchingTypeValue(int value) {
*
* @return The matchingType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.MatchingType getMatchingType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.MatchingType result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
index 3de4eebd..12a47040 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
@@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -146,6 +147,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
index 5953a94b..cf99c0e6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
@@ -234,6 +234,7 @@ public TransformationCase getTransformationCase() {
* repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List getFieldsList() {
return fields_;
}
@@ -248,6 +249,7 @@ public java.util.List getFieldsList() {
* repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getFieldsOrBuilderList() {
return fields_;
@@ -263,6 +265,7 @@ public java.util.List getFieldsList() {
* repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getFieldsCount() {
return fields_.size();
}
@@ -277,6 +280,7 @@ public int getFieldsCount() {
* repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getFields(int index) {
return fields_.get(index);
}
@@ -291,6 +295,7 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) {
* repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) {
return fields_.get(index);
}
@@ -314,6 +319,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index)
*
* @return Whether the condition field is set.
*/
+ @java.lang.Override
public boolean hasCondition() {
return condition_ != null;
}
@@ -334,6 +340,7 @@ public boolean hasCondition() {
*
* @return The condition.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
return condition_ == null
? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
@@ -354,6 +361,7 @@ public com.google.privacy.dlp.v2.RecordCondition getCondition() {
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder() {
return getCondition();
}
@@ -370,6 +378,7 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
*
* @return Whether the primitiveTransformation field is set.
*/
+ @java.lang.Override
public boolean hasPrimitiveTransformation() {
return transformationCase_ == 4;
}
@@ -384,6 +393,7 @@ public boolean hasPrimitiveTransformation() {
*
* @return The primitiveTransformation.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
if (transformationCase_ == 4) {
return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_;
@@ -399,6 +409,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder
getPrimitiveTransformationOrBuilder() {
if (transformationCase_ == 4) {
@@ -420,6 +431,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat
*
* @return Whether the infoTypeTransformations field is set.
*/
+ @java.lang.Override
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 5;
}
@@ -435,6 +447,7 @@ public boolean hasInfoTypeTransformations() {
*
* @return The infoTypeTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (transformationCase_ == 5) {
return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
@@ -451,6 +464,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
getInfoTypeTransformationsOrBuilder() {
if (transformationCase_ == 5) {
@@ -1568,6 +1582,7 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
*
* @return Whether the primitiveTransformation field is set.
*/
+ @java.lang.Override
public boolean hasPrimitiveTransformation() {
return transformationCase_ == 4;
}
@@ -1582,6 +1597,7 @@ public boolean hasPrimitiveTransformation() {
*
* @return The primitiveTransformation.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
if (primitiveTransformationBuilder_ == null) {
if (transformationCase_ == 4) {
@@ -1718,6 +1734,7 @@ public Builder clearPrimitiveTransformation() {
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder
getPrimitiveTransformationOrBuilder() {
if ((transformationCase_ == 4) && (primitiveTransformationBuilder_ != null)) {
@@ -1780,6 +1797,7 @@ public Builder clearPrimitiveTransformation() {
*
* @return Whether the infoTypeTransformations field is set.
*/
+ @java.lang.Override
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 5;
}
@@ -1795,6 +1813,7 @@ public boolean hasInfoTypeTransformations() {
*
* @return The infoTypeTransformations.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (infoTypeTransformationsBuilder_ == null) {
if (transformationCase_ == 5) {
@@ -1937,6 +1956,7 @@ public Builder clearInfoTypeTransformations() {
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
getInfoTypeTransformationsOrBuilder() {
if ((transformationCase_ == 5) && (infoTypeTransformationsBuilder_ != null)) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
index 326c1751..4b3b0899 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
@@ -249,6 +249,10 @@ public FileType findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
index 92745d69..de618a2e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
@@ -267,6 +267,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -291,6 +292,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -320,6 +322,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The quote.
*/
+ @java.lang.Override
public java.lang.String getQuote() {
java.lang.Object ref = quote_;
if (ref instanceof java.lang.String) {
@@ -346,6 +349,7 @@ public java.lang.String getQuote() {
*
* @return The bytes for quote.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQuoteBytes() {
java.lang.Object ref = quote_;
if (ref instanceof java.lang.String) {
@@ -372,6 +376,7 @@ public com.google.protobuf.ByteString getQuoteBytes() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return infoType_ != null;
}
@@ -387,6 +392,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
}
@@ -400,6 +406,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
return getInfoType();
}
@@ -417,6 +424,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The enum numeric value on the wire for likelihood.
*/
+ @java.lang.Override
public int getLikelihoodValue() {
return likelihood_;
}
@@ -431,6 +439,7 @@ public int getLikelihoodValue() {
*
* @return The likelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -451,6 +460,7 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
* @return Whether the location field is set.
*/
+ @java.lang.Override
public boolean hasLocation() {
return location_ != null;
}
@@ -465,6 +475,7 @@ public boolean hasLocation() {
*
* @return The location.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Location getLocation() {
return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_;
}
@@ -477,6 +488,7 @@ public com.google.privacy.dlp.v2.Location getLocation() {
*
* .google.privacy.dlp.v2.Location location = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() {
return getLocation();
}
@@ -494,6 +506,7 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() {
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -508,6 +521,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -520,6 +534,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
* .google.protobuf.Timestamp create_time = 6;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -539,6 +554,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return Whether the quoteInfo field is set.
*/
+ @java.lang.Override
public boolean hasQuoteInfo() {
return quoteInfo_ != null;
}
@@ -555,6 +571,7 @@ public boolean hasQuoteInfo() {
*
* @return The quoteInfo.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() {
return quoteInfo_ == null
? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance()
@@ -571,6 +588,7 @@ public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() {
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
return getQuoteInfo();
}
@@ -588,6 +606,7 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
*
* @return The resourceName.
*/
+ @java.lang.Override
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
if (ref instanceof java.lang.String) {
@@ -610,6 +629,7 @@ public java.lang.String getResourceName() {
*
* @return The bytes for resourceName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getResourceNameBytes() {
java.lang.Object ref = resourceName_;
if (ref instanceof java.lang.String) {
@@ -635,6 +655,7 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
*
* @return The triggerName.
*/
+ @java.lang.Override
public java.lang.String getTriggerName() {
java.lang.Object ref = triggerName_;
if (ref instanceof java.lang.String) {
@@ -657,6 +678,7 @@ public java.lang.String getTriggerName() {
*
* @return The bytes for triggerName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getTriggerNameBytes() {
java.lang.Object ref = triggerName_;
if (ref instanceof java.lang.String) {
@@ -711,6 +733,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -718,6 +741,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -739,6 +763,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -759,6 +784,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -783,6 +809,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -807,6 +834,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
* @return Whether the jobCreateTime field is set.
*/
+ @java.lang.Override
public boolean hasJobCreateTime() {
return jobCreateTime_ != null;
}
@@ -821,6 +849,7 @@ public boolean hasJobCreateTime() {
*
* @return The jobCreateTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getJobCreateTime() {
return jobCreateTime_ == null
? com.google.protobuf.Timestamp.getDefaultInstance()
@@ -835,6 +864,7 @@ public com.google.protobuf.Timestamp getJobCreateTime() {
*
* .google.protobuf.Timestamp job_create_time = 11;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() {
return getJobCreateTime();
}
@@ -852,6 +882,7 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() {
*
* @return The jobName.
*/
+ @java.lang.Override
public java.lang.String getJobName() {
java.lang.Object ref = jobName_;
if (ref instanceof java.lang.String) {
@@ -874,6 +905,7 @@ public java.lang.String getJobName() {
*
* @return The bytes for jobName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getJobNameBytes() {
java.lang.Object ref = jobName_;
if (ref instanceof java.lang.String) {
@@ -1910,6 +1942,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The enum numeric value on the wire for likelihood.
*/
+ @java.lang.Override
public int getLikelihoodValue() {
return likelihood_;
}
@@ -1926,6 +1959,7 @@ public int getLikelihoodValue() {
* @return This builder for chaining.
*/
public Builder setLikelihoodValue(int value) {
+
likelihood_ = value;
onChanged();
return this;
@@ -1941,6 +1975,7 @@ public Builder setLikelihoodValue(int value) {
*
* @return The likelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -2811,6 +2846,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -2818,6 +2854,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -2839,6 +2876,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -2859,6 +2897,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
@@ -2884,6 +2923,7 @@ public java.lang.String getLabelsOrDefault(
*
* map<string, string> labels = 10;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java
index 097ac502..77da7f05 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java
@@ -126,6 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -150,6 +151,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
index 6fbbdba6..95d6441e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
@@ -164,6 +164,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the lowerBound field is set.
*/
+ @java.lang.Override
public boolean hasLowerBound() {
return lowerBound_ != null;
}
@@ -181,6 +182,7 @@ public boolean hasLowerBound() {
*
* @return The lowerBound.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getLowerBound() {
return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_;
}
@@ -196,6 +198,7 @@ public com.google.privacy.dlp.v2.Value getLowerBound() {
* .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() {
return getLowerBound();
}
@@ -216,6 +219,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() {
*
* @return Whether the upperBound field is set.
*/
+ @java.lang.Override
public boolean hasUpperBound() {
return upperBound_ != null;
}
@@ -233,6 +237,7 @@ public boolean hasUpperBound() {
*
* @return The upperBound.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getUpperBound() {
return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_;
}
@@ -248,6 +253,7 @@ public com.google.privacy.dlp.v2.Value getUpperBound() {
* .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
return getUpperBound();
}
@@ -268,6 +274,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
*
* @return The bucketSize.
*/
+ @java.lang.Override
public double getBucketSize() {
return bucketSize_;
}
@@ -1099,6 +1106,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
*
* @return The bucketSize.
*/
+ @java.lang.Override
public double getBucketSize() {
return bucketSize_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
index d91d618b..c00f38aa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
index fad1bae6..03e98786 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
@@ -126,6 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -150,6 +151,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
index 8113660c..92394fda 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
index 557ad2b9..51450cc0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
@@ -127,6 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -152,6 +153,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
index 60248ad8..1d1a9ba7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java
index f6548025..f920d9ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java
@@ -148,6 +148,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -162,6 +163,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -174,6 +176,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -191,6 +194,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return Whether the findingDetails field is set.
*/
+ @java.lang.Override
public boolean hasFindingDetails() {
return findingDetails_ != null;
}
@@ -205,6 +209,7 @@ public boolean hasFindingDetails() {
*
* @return The findingDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() {
return findingDetails_ == null
? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance()
@@ -219,6 +224,7 @@ public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() {
*
* .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetailsOrBuilder() {
return getFindingDetails();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java
index 8982dae8..3d49e647 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java
@@ -182,6 +182,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
* @return Whether the containerDetails field is set.
*/
+ @java.lang.Override
public boolean hasContainerDetails() {
return containerDetails_ != null;
}
@@ -196,6 +197,7 @@ public boolean hasContainerDetails() {
*
* @return The containerDetails.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Container getContainerDetails() {
return containerDetails_ == null
? com.google.privacy.dlp.v2.Container.getDefaultInstance()
@@ -210,6 +212,7 @@ public com.google.privacy.dlp.v2.Container getContainerDetails() {
*
* .google.privacy.dlp.v2.Container container_details = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder() {
return getContainerDetails();
}
@@ -230,6 +233,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
*
* @return The fileOffset.
*/
+ @java.lang.Override
public long getFileOffset() {
return fileOffset_;
}
@@ -249,6 +253,7 @@ public long getFileOffset() {
*
* @return The rowOffset.
*/
+ @java.lang.Override
public long getRowOffset() {
return rowOffset_;
}
@@ -270,6 +275,7 @@ public long getRowOffset() {
*
* @return Whether the tableOptions field is set.
*/
+ @java.lang.Override
public boolean hasTableOptions() {
return tableOptions_ != null;
}
@@ -288,6 +294,7 @@ public boolean hasTableOptions() {
*
* @return The tableOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableOptions getTableOptions() {
return tableOptions_ == null
? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
@@ -306,6 +313,7 @@ public com.google.privacy.dlp.v2.TableOptions getTableOptions() {
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder() {
return getTableOptions();
}
@@ -355,6 +363,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -362,6 +371,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -386,6 +396,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -409,6 +420,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -436,6 +448,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1078,6 +1091,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
*
* @return The fileOffset.
*/
+ @java.lang.Override
public long getFileOffset() {
return fileOffset_;
}
@@ -1137,6 +1151,7 @@ public Builder clearFileOffset() {
*
* @return The rowOffset.
*/
+ @java.lang.Override
public long getRowOffset() {
return rowOffset_;
}
@@ -1446,6 +1461,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1453,6 +1469,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -1477,6 +1494,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -1500,6 +1518,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
@@ -1528,6 +1547,7 @@ public java.lang.String getLabelsOrDefault(
*
* map<string, string> labels = 5;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
index 4e64bf66..b7963976 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
@@ -143,6 +143,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -168,6 +169,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -193,6 +195,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the hybridItem field is set.
*/
+ @java.lang.Override
public boolean hasHybridItem() {
return hybridItem_ != null;
}
@@ -207,6 +210,7 @@ public boolean hasHybridItem() {
*
* @return The hybridItem.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() {
return hybridItem_ == null
? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance()
@@ -221,6 +225,7 @@ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() {
*
* .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuilder() {
return getHybridItem();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java
index 6c1ea46d..9e6193f2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java
@@ -144,6 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -169,6 +170,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -194,6 +196,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the hybridItem field is set.
*/
+ @java.lang.Override
public boolean hasHybridItem() {
return hybridItem_ != null;
}
@@ -208,6 +211,7 @@ public boolean hasHybridItem() {
*
* @return The hybridItem.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() {
return hybridItem_ == null
? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance()
@@ -222,6 +226,7 @@ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() {
*
* .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuilder() {
return getHybridItem();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java
index ed8ecde7..b6a40beb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The processedCount.
*/
+ @java.lang.Override
public long getProcessedCount() {
return processedCount_;
}
@@ -148,6 +149,7 @@ public long getProcessedCount() {
*
* @return The abortedCount.
*/
+ @java.lang.Override
public long getAbortedCount() {
return abortedCount_;
}
@@ -169,6 +171,7 @@ public long getAbortedCount() {
*
* @return The pendingCount.
*/
+ @java.lang.Override
public long getPendingCount() {
return pendingCount_;
}
@@ -532,6 +535,7 @@ public Builder mergeFrom(
*
* @return The processedCount.
*/
+ @java.lang.Override
public long getProcessedCount() {
return processedCount_;
}
@@ -584,6 +588,7 @@ public Builder clearProcessedCount() {
*
* @return The abortedCount.
*/
+ @java.lang.Override
public long getAbortedCount() {
return abortedCount_;
}
@@ -641,6 +646,7 @@ public Builder clearAbortedCount() {
*
* @return The pendingCount.
*/
+ @java.lang.Override
public long getPendingCount() {
return pendingCount_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java
index 873bbed0..51a64c52 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java
@@ -181,6 +181,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -204,6 +205,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -339,6 +341,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -346,6 +349,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -367,6 +371,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -387,6 +392,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -411,6 +417,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -436,6 +443,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
*
* @return Whether the tableOptions field is set.
*/
+ @java.lang.Override
public boolean hasTableOptions() {
return tableOptions_ != null;
}
@@ -451,6 +459,7 @@ public boolean hasTableOptions() {
*
* @return The tableOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableOptions getTableOptions() {
return tableOptions_ == null
? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
@@ -466,6 +475,7 @@ public com.google.privacy.dlp.v2.TableOptions getTableOptions() {
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder() {
return getTableOptions();
}
@@ -1260,6 +1270,7 @@ public int getLabelsCount() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public boolean containsLabels(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
@@ -1267,6 +1278,7 @@ public boolean containsLabels(java.lang.String key) {
return internalGetLabels().getMap().containsKey(key);
}
/** Use {@link #getLabelsMap()} instead. */
+ @java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
@@ -1288,6 +1300,7 @@ public java.util.Map getLabels() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
@@ -1308,6 +1321,7 @@ public java.util.Map getLabelsMap() {
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
@@ -1333,6 +1347,7 @@ public java.lang.String getLabelsOrDefault(
*
* map<string, string> labels = 3;
*/
+ @java.lang.Override
public java.lang.String getLabelsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
index b7ad3695..193ca4ee 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
*/
+ @java.lang.Override
public java.util.List getBoundingBoxesList() {
return boundingBoxes_;
}
@@ -142,6 +143,7 @@ public java.util.List getBoundingBoxesLis
*
* repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.BoundingBoxOrBuilder>
getBoundingBoxesOrBuilderList() {
return boundingBoxes_;
@@ -155,6 +157,7 @@ public java.util.List getBoundingBoxesLis
*
* repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
*/
+ @java.lang.Override
public int getBoundingBoxesCount() {
return boundingBoxes_.size();
}
@@ -167,6 +170,7 @@ public int getBoundingBoxesCount() {
*
* repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) {
return boundingBoxes_.get(index);
}
@@ -179,6 +183,7 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) {
*
* repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index) {
return boundingBoxes_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
index 8354615a..4cb9a5d0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
@@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -154,6 +155,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
index f7fff306..1b2af83a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
@@ -170,6 +170,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -192,6 +193,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -217,6 +219,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The displayName.
*/
+ @java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -239,6 +242,7 @@ public java.lang.String getDisplayName() {
*
* @return The bytes for displayName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -278,6 +282,7 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy convert(java.lang.Integer f
*
* @return A list containing the supportedBy.
*/
+ @java.lang.Override
public java.util.List getSupportedByList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>(
@@ -294,6 +299,7 @@ public java.util.List getSupporte
*
* @return The count of supportedBy.
*/
+ @java.lang.Override
public int getSupportedByCount() {
return supportedBy_.size();
}
@@ -309,6 +315,7 @@ public int getSupportedByCount() {
* @param index The index of the element to return.
* @return The supportedBy at the given index.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
return supportedBy_converter_.convert(supportedBy_.get(index));
}
@@ -323,6 +330,7 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
*
* @return A list containing the enum numeric values on the wire for supportedBy.
*/
+ @java.lang.Override
public java.util.List getSupportedByValueList() {
return supportedBy_;
}
@@ -338,6 +346,7 @@ public java.util.List getSupportedByValueList() {
* @param index The index of the value to return.
* @return The enum numeric value on the wire of supportedBy at the given index.
*/
+ @java.lang.Override
public int getSupportedByValue(int index) {
return supportedBy_.get(index);
}
@@ -358,6 +367,7 @@ public int getSupportedByValue(int index) {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -381,6 +391,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
index 39210df8..7c4772f2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
@@ -135,6 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return infoType_ != null;
}
@@ -149,6 +150,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
}
@@ -161,6 +163,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
return getInfoType();
}
@@ -178,6 +181,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
@@ -721,6 +725,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
index e6511563..db393fc4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
@@ -141,6 +141,10 @@ public InfoTypeSupportedBy findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
index 5aeb8738..e8a0262b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
@@ -368,6 +368,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List getInfoTypesList() {
return infoTypes_;
}
@@ -382,6 +383,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>
getInfoTypesOrBuilderList() {
return infoTypes_;
@@ -397,6 +399,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public int getInfoTypesCount() {
return infoTypes_.size();
}
@@ -411,6 +414,7 @@ public int getInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
return infoTypes_.get(index);
}
@@ -425,6 +429,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
return infoTypes_.get(index);
}
@@ -444,6 +449,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
*
* @return Whether the primitiveTransformation field is set.
*/
+ @java.lang.Override
public boolean hasPrimitiveTransformation() {
return primitiveTransformation_ != null;
}
@@ -460,6 +466,7 @@ public boolean hasPrimitiveTransformation() {
*
* @return The primitiveTransformation.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
return primitiveTransformation_ == null
? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()
@@ -476,6 +483,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder
getPrimitiveTransformationOrBuilder() {
return getPrimitiveTransformation();
@@ -1560,6 +1568,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List
getTransformationsList() {
return transformations_;
@@ -1576,6 +1585,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List<
? extends
com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>
@@ -1594,6 +1604,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getTransformationsCount() {
return transformations_.size();
}
@@ -1609,6 +1620,7 @@ public int getTransformationsCount() {
* repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
getTransformations(int index) {
return transformations_.get(index);
@@ -1625,6 +1637,7 @@ public int getTransformationsCount() {
* repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder
getTransformationsOrBuilder(int index) {
return transformations_.get(index);
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
index 5c8fb00b..c0157599 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
@@ -618,6 +618,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return infoType_ != null;
}
@@ -635,6 +636,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null
? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
@@ -652,6 +654,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
return getInfoType();
}
@@ -669,6 +672,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The maxFindings.
*/
+ @java.lang.Override
public int getMaxFindings() {
return maxFindings_;
}
@@ -1260,6 +1264,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The maxFindings.
*/
+ @java.lang.Override
public int getMaxFindings() {
return maxFindings_;
}
@@ -1371,6 +1376,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* @return The maxFindingsPerItem.
*/
+ @java.lang.Override
public int getMaxFindingsPerItem() {
return maxFindingsPerItem_;
}
@@ -1390,6 +1396,7 @@ public int getMaxFindingsPerItem() {
*
* @return The maxFindingsPerRequest.
*/
+ @java.lang.Override
public int getMaxFindingsPerRequest() {
return maxFindingsPerRequest_;
}
@@ -1408,6 +1415,7 @@ public int getMaxFindingsPerRequest() {
* repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
*
*/
+ @java.lang.Override
public java.util.List
getMaxFindingsPerInfoTypeList() {
return maxFindingsPerInfoType_;
@@ -1423,6 +1431,7 @@ public int getMaxFindingsPerRequest() {
* repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
*
*/
+ @java.lang.Override
public java.util.List<
? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>
getMaxFindingsPerInfoTypeOrBuilderList() {
@@ -1439,6 +1448,7 @@ public int getMaxFindingsPerRequest() {
* repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
*
*/
+ @java.lang.Override
public int getMaxFindingsPerInfoTypeCount() {
return maxFindingsPerInfoType_.size();
}
@@ -1453,6 +1463,7 @@ public int getMaxFindingsPerInfoTypeCount() {
* repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
getMaxFindingsPerInfoType(int index) {
return maxFindingsPerInfoType_.get(index);
@@ -1468,6 +1479,7 @@ public int getMaxFindingsPerInfoTypeCount() {
* repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder
getMaxFindingsPerInfoTypeOrBuilder(int index) {
return maxFindingsPerInfoType_.get(index);
@@ -1887,6 +1899,7 @@ public Builder mergeFrom(
*
* @return The maxFindingsPerItem.
*/
+ @java.lang.Override
public int getMaxFindingsPerItem() {
return maxFindingsPerItem_;
}
@@ -1946,6 +1959,7 @@ public Builder clearMaxFindingsPerItem() {
*
* @return The maxFindingsPerRequest.
*/
+ @java.lang.Override
public int getMaxFindingsPerRequest() {
return maxFindingsPerRequest_;
}
@@ -2476,6 +2490,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultInstanceF
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List getInfoTypesList() {
return infoTypes_;
}
@@ -2496,6 +2511,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>
getInfoTypesOrBuilderList() {
return infoTypes_;
@@ -2517,6 +2533,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public int getInfoTypesCount() {
return infoTypes_.size();
}
@@ -2537,6 +2554,7 @@ public int getInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
return infoTypes_.get(index);
}
@@ -2557,6 +2575,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
return infoTypes_.get(index);
}
@@ -2576,6 +2595,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
*
* @return The enum numeric value on the wire for minLikelihood.
*/
+ @java.lang.Override
public int getMinLikelihoodValue() {
return minLikelihood_;
}
@@ -2592,6 +2612,7 @@ public int getMinLikelihoodValue() {
*
* @return The minLikelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -2612,6 +2633,7 @@ public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
*
* @return Whether the limits field is set.
*/
+ @java.lang.Override
public boolean hasLimits() {
return limits_ != null;
}
@@ -2626,6 +2648,7 @@ public boolean hasLimits() {
*
* @return The limits.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() {
return limits_ == null
? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()
@@ -2640,6 +2663,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() {
*
* .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder() {
return getLimits();
}
@@ -2658,6 +2682,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
*
* @return The includeQuote.
*/
+ @java.lang.Override
public boolean getIncludeQuote() {
return includeQuote_;
}
@@ -2675,6 +2700,7 @@ public boolean getIncludeQuote() {
*
* @return The excludeInfoTypes.
*/
+ @java.lang.Override
public boolean getExcludeInfoTypes() {
return excludeInfoTypes_;
}
@@ -2691,6 +2717,7 @@ public boolean getExcludeInfoTypes() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
*/
+ @java.lang.Override
public java.util.List getCustomInfoTypesList() {
return customInfoTypes_;
}
@@ -2704,6 +2731,7 @@ public java.util.List getCustomInfoTyp
*
* repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>
getCustomInfoTypesOrBuilderList() {
return customInfoTypes_;
@@ -2718,6 +2746,7 @@ public java.util.List getCustomInfoTyp
*
* repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
*/
+ @java.lang.Override
public int getCustomInfoTypesCount() {
return customInfoTypes_.size();
}
@@ -2731,6 +2760,7 @@ public int getCustomInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
return customInfoTypes_.get(index);
}
@@ -2744,6 +2774,7 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index) {
return customInfoTypes_.get(index);
}
@@ -2774,6 +2805,7 @@ public com.google.privacy.dlp.v2.ContentOption convert(java.lang.Integer from) {
*
* @return A list containing the contentOptions.
*/
+ @java.lang.Override
public java.util.List getContentOptionsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>(
@@ -2791,6 +2823,7 @@ public java.util.List getContentOptions
*
* @return The count of contentOptions.
*/
+ @java.lang.Override
public int getContentOptionsCount() {
return contentOptions_.size();
}
@@ -2807,6 +2840,7 @@ public int getContentOptionsCount() {
* @param index The index of the element to return.
* @return The contentOptions at the given index.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
return contentOptions_converter_.convert(contentOptions_.get(index));
}
@@ -2822,6 +2856,7 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
*
* @return A list containing the enum numeric values on the wire for contentOptions.
*/
+ @java.lang.Override
public java.util.List getContentOptionsValueList() {
return contentOptions_;
}
@@ -2838,6 +2873,7 @@ public java.util.List getContentOptionsValueList() {
* @param index The index of the value to return.
* @return The enum numeric value on the wire of contentOptions at the given index.
*/
+ @java.lang.Override
public int getContentOptionsValue(int index) {
return contentOptions_.get(index);
}
@@ -2857,6 +2893,7 @@ public int getContentOptionsValue(int index) {
*
* repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
*/
+ @java.lang.Override
public java.util.List getRuleSetList() {
return ruleSet_;
}
@@ -2871,6 +2908,7 @@ public java.util.List getRuleSetLis
*
* repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>
getRuleSetOrBuilderList() {
return ruleSet_;
@@ -2886,6 +2924,7 @@ public java.util.List getRuleSetLis
*
* repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
*/
+ @java.lang.Override
public int getRuleSetCount() {
return ruleSet_.size();
}
@@ -2900,6 +2939,7 @@ public int getRuleSetCount() {
*
* repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
return ruleSet_.get(index);
}
@@ -2914,6 +2954,7 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
*
* repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index) {
return ruleSet_.get(index);
}
@@ -4007,6 +4048,7 @@ public java.util.List getInfoTypesBu
*
* @return The enum numeric value on the wire for minLikelihood.
*/
+ @java.lang.Override
public int getMinLikelihoodValue() {
return minLikelihood_;
}
@@ -4025,6 +4067,7 @@ public int getMinLikelihoodValue() {
* @return This builder for chaining.
*/
public Builder setMinLikelihoodValue(int value) {
+
minLikelihood_ = value;
onChanged();
return this;
@@ -4042,6 +4085,7 @@ public Builder setMinLikelihoodValue(int value) {
*
* @return The minLikelihood.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.Likelihood result =
@@ -4290,6 +4334,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
*
* @return The includeQuote.
*/
+ @java.lang.Override
public boolean getIncludeQuote() {
return includeQuote_;
}
@@ -4343,6 +4388,7 @@ public Builder clearIncludeQuote() {
*
* @return The excludeInfoTypes.
*/
+ @java.lang.Override
public boolean getExcludeInfoTypes() {
return excludeInfoTypes_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
index 20540ac5..b8f3b506 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
@@ -173,6 +173,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -196,6 +197,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -222,6 +224,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -237,6 +240,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -252,6 +256,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
@@ -269,6 +274,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -283,6 +289,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -295,6 +302,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -316,6 +324,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return The inspectTemplateName.
*/
+ @java.lang.Override
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -342,6 +351,7 @@ public java.lang.String getInspectTemplateName() {
*
* @return The bytes for inspectTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -367,6 +377,7 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -389,6 +400,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
index 5fca7c8f..9d34c025 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
@@ -131,6 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the result field is set.
*/
+ @java.lang.Override
public boolean hasResult() {
return result_ != null;
}
@@ -145,6 +146,7 @@ public boolean hasResult() {
*
* @return The result.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectResult getResult() {
return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_;
}
@@ -157,6 +159,7 @@ public com.google.privacy.dlp.v2.InspectResult getResult() {
*
* .google.privacy.dlp.v2.InspectResult result = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() {
return getResult();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
index 55b8ab4b..92978f17 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
@@ -345,6 +345,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the snapshotInspectTemplate field is set.
*/
+ @java.lang.Override
public boolean hasSnapshotInspectTemplate() {
return snapshotInspectTemplate_ != null;
}
@@ -360,6 +361,7 @@ public boolean hasSnapshotInspectTemplate() {
*
* @return The snapshotInspectTemplate.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
return snapshotInspectTemplate_ == null
? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()
@@ -375,6 +377,7 @@ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplateOrBuilder
getSnapshotInspectTemplateOrBuilder() {
return getSnapshotInspectTemplate();
@@ -393,6 +396,7 @@ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
*
* @return Whether the jobConfig field is set.
*/
+ @java.lang.Override
public boolean hasJobConfig() {
return jobConfig_ != null;
}
@@ -407,6 +411,7 @@ public boolean hasJobConfig() {
*
* @return The jobConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() {
return jobConfig_ == null
? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()
@@ -421,6 +426,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() {
*
* .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder() {
return getJobConfig();
}
@@ -1509,6 +1515,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The processedBytes.
*/
+ @java.lang.Override
public long getProcessedBytes() {
return processedBytes_;
}
@@ -1526,6 +1533,7 @@ public long getProcessedBytes() {
*
* @return The totalEstimatedBytes.
*/
+ @java.lang.Override
public long getTotalEstimatedBytes() {
return totalEstimatedBytes_;
}
@@ -1542,6 +1550,7 @@ public long getTotalEstimatedBytes() {
*
* repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
*/
+ @java.lang.Override
public java.util.List getInfoTypeStatsList() {
return infoTypeStats_;
}
@@ -1555,6 +1564,7 @@ public java.util.List getInfoTypeStatsL
*
* repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>
getInfoTypeStatsOrBuilderList() {
return infoTypeStats_;
@@ -1569,6 +1579,7 @@ public java.util.List getInfoTypeStatsL
*
* repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
*/
+ @java.lang.Override
public int getInfoTypeStatsCount() {
return infoTypeStats_.size();
}
@@ -1582,6 +1593,7 @@ public int getInfoTypeStatsCount() {
*
* repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
return infoTypeStats_.get(index);
}
@@ -1595,6 +1607,7 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
*
* repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index) {
return infoTypeStats_.get(index);
}
@@ -1615,6 +1628,7 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
*
* @return Whether the hybridStats field is set.
*/
+ @java.lang.Override
public boolean hasHybridStats() {
return hybridStats_ != null;
}
@@ -1632,6 +1646,7 @@ public boolean hasHybridStats() {
*
* @return The hybridStats.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() {
return hybridStats_ == null
? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance()
@@ -1649,6 +1664,7 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() {
*
* .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder() {
return getHybridStats();
}
@@ -2088,6 +2104,7 @@ public Builder mergeFrom(
*
* @return The processedBytes.
*/
+ @java.lang.Override
public long getProcessedBytes() {
return processedBytes_;
}
@@ -2139,6 +2156,7 @@ public Builder clearProcessedBytes() {
*
* @return The totalEstimatedBytes.
*/
+ @java.lang.Override
public long getTotalEstimatedBytes() {
return totalEstimatedBytes_;
}
@@ -2829,6 +2847,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefaultInsta
*
* @return Whether the requestedOptions field is set.
*/
+ @java.lang.Override
public boolean hasRequestedOptions() {
return requestedOptions_ != null;
}
@@ -2844,6 +2863,7 @@ public boolean hasRequestedOptions() {
*
* @return The requestedOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() {
return requestedOptions_ == null
? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance()
@@ -2859,6 +2879,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRe
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder
getRequestedOptionsOrBuilder() {
return getRequestedOptions();
@@ -2877,6 +2898,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRe
*
* @return Whether the result field is set.
*/
+ @java.lang.Override
public boolean hasResult() {
return result_ != null;
}
@@ -2891,6 +2913,7 @@ public boolean hasResult() {
*
* @return The result.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() {
return result_ == null
? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance()
@@ -2905,6 +2928,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() {
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getResultOrBuilder() {
return getResult();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
index 86003c1a..083821db 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
@@ -171,6 +171,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the storageConfig field is set.
*/
+ @java.lang.Override
public boolean hasStorageConfig() {
return storageConfig_ != null;
}
@@ -185,6 +186,7 @@ public boolean hasStorageConfig() {
*
* @return The storageConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() {
return storageConfig_ == null
? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance()
@@ -199,6 +201,7 @@ public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() {
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilder() {
return getStorageConfig();
}
@@ -216,6 +219,7 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -230,6 +234,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -244,6 +249,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
@@ -263,6 +269,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
* @return The inspectTemplateName.
*/
+ @java.lang.Override
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -287,6 +294,7 @@ public java.lang.String getInspectTemplateName() {
*
* @return The bytes for inspectTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -310,6 +318,7 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
* repeated .google.privacy.dlp.v2.Action actions = 4;
*/
+ @java.lang.Override
public java.util.List getActionsList() {
return actions_;
}
@@ -322,6 +331,7 @@ public java.util.List getActionsList() {
*
* repeated .google.privacy.dlp.v2.Action actions = 4;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ActionOrBuilder>
getActionsOrBuilderList() {
return actions_;
@@ -335,6 +345,7 @@ public java.util.List getActionsList() {
*
* repeated .google.privacy.dlp.v2.Action actions = 4;
*/
+ @java.lang.Override
public int getActionsCount() {
return actions_.size();
}
@@ -347,6 +358,7 @@ public int getActionsCount() {
*
* repeated .google.privacy.dlp.v2.Action actions = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Action getActions(int index) {
return actions_.get(index);
}
@@ -359,6 +371,7 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
*
* repeated .google.privacy.dlp.v2.Action actions = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
return actions_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
index 1d3e8e51..52016e8c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
@@ -134,6 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.Finding findings = 1;
*/
+ @java.lang.Override
public java.util.List getFindingsList() {
return findings_;
}
@@ -146,6 +147,7 @@ public java.util.List getFindingsList() {
*
* repeated .google.privacy.dlp.v2.Finding findings = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FindingOrBuilder>
getFindingsOrBuilderList() {
return findings_;
@@ -159,6 +161,7 @@ public java.util.List getFindingsList() {
*
* repeated .google.privacy.dlp.v2.Finding findings = 1;
*/
+ @java.lang.Override
public int getFindingsCount() {
return findings_.size();
}
@@ -171,6 +174,7 @@ public int getFindingsCount() {
*
* repeated .google.privacy.dlp.v2.Finding findings = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Finding getFindings(int index) {
return findings_.get(index);
}
@@ -183,6 +187,7 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) {
*
* repeated .google.privacy.dlp.v2.Finding findings = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index) {
return findings_.get(index);
}
@@ -205,6 +210,7 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index
*
* @return The findingsTruncated.
*/
+ @java.lang.Override
public boolean getFindingsTruncated() {
return findingsTruncated_;
}
@@ -946,6 +952,7 @@ public java.util.List getFindingsBuil
*
* @return The findingsTruncated.
*/
+ @java.lang.Override
public boolean getFindingsTruncated() {
return findingsTruncated_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
index c8543fc1..cff97d29 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
@@ -192,6 +192,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -217,6 +218,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -242,6 +244,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The displayName.
*/
+ @java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -264,6 +267,7 @@ public java.lang.String getDisplayName() {
*
* @return The bytes for displayName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -289,6 +293,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -311,6 +316,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -337,6 +343,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -352,6 +359,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -365,6 +373,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -383,6 +392,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return Whether the updateTime field is set.
*/
+ @java.lang.Override
public boolean hasUpdateTime() {
return updateTime_ != null;
}
@@ -398,6 +408,7 @@ public boolean hasUpdateTime() {
*
* @return The updateTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
@@ -411,6 +422,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
* .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
return getUpdateTime();
}
@@ -428,6 +440,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -442,6 +455,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -456,6 +470,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
index 0165c116..b3beb83d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
@@ -199,6 +199,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the hotwordRule field is set.
*/
+ @java.lang.Override
public boolean hasHotwordRule() {
return typeCase_ == 1;
}
@@ -213,6 +214,7 @@ public boolean hasHotwordRule() {
*
* @return The hotwordRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_;
@@ -228,6 +230,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder() {
if (typeCase_ == 1) {
@@ -248,6 +251,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot
*
* @return Whether the exclusionRule field is set.
*/
+ @java.lang.Override
public boolean hasExclusionRule() {
return typeCase_ == 2;
}
@@ -262,6 +266,7 @@ public boolean hasExclusionRule() {
*
* @return The exclusionRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.ExclusionRule) type_;
@@ -277,6 +282,7 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() {
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilder() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.ExclusionRule) type_;
@@ -688,6 +694,7 @@ public Builder clearType() {
*
* @return Whether the hotwordRule field is set.
*/
+ @java.lang.Override
public boolean hasHotwordRule() {
return typeCase_ == 1;
}
@@ -703,6 +710,7 @@ public boolean hasHotwordRule() {
*
* @return The hotwordRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (hotwordRuleBuilder_ == null) {
if (typeCase_ == 1) {
@@ -849,6 +857,7 @@ public Builder clearHotwordRule() {
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder() {
if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) {
@@ -914,6 +923,7 @@ public Builder clearHotwordRule() {
*
* @return Whether the exclusionRule field is set.
*/
+ @java.lang.Override
public boolean hasExclusionRule() {
return typeCase_ == 2;
}
@@ -928,6 +938,7 @@ public boolean hasExclusionRule() {
*
* @return The exclusionRule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() {
if (exclusionRuleBuilder_ == null) {
if (typeCase_ == 2) {
@@ -1060,6 +1071,7 @@ public com.google.privacy.dlp.v2.ExclusionRule.Builder getExclusionRuleBuilder()
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilder() {
if ((typeCase_ == 2) && (exclusionRuleBuilder_ != null)) {
return exclusionRuleBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
index 65eeed2b..1cd5e9d5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
@@ -146,6 +146,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List getInfoTypesList() {
return infoTypes_;
}
@@ -158,6 +159,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeOrBuilder>
getInfoTypesOrBuilderList() {
return infoTypes_;
@@ -171,6 +173,7 @@ public java.util.List getInfoTypesList() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public int getInfoTypesCount() {
return infoTypes_.size();
}
@@ -183,6 +186,7 @@ public int getInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
return infoTypes_.get(index);
}
@@ -195,6 +199,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.InfoType info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
return infoTypes_.get(index);
}
@@ -210,6 +215,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
*
* repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
*/
+ @java.lang.Override
public java.util.List getRulesList() {
return rules_;
}
@@ -222,6 +228,7 @@ public java.util.List getRulesList() {
*
* repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InspectionRuleOrBuilder>
getRulesOrBuilderList() {
return rules_;
@@ -235,6 +242,7 @@ public java.util.List getRulesList() {
*
* repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
*/
+ @java.lang.Override
public int getRulesCount() {
return rules_.size();
}
@@ -247,6 +255,7 @@ public int getRulesCount() {
*
* repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectionRule getRules(int index) {
return rules_.get(index);
}
@@ -259,6 +268,7 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) {
*
* repeated .google.privacy.dlp.v2.InspectionRule rules = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index) {
return rules_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
index e3002be2..f9425de5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
@@ -373,6 +373,10 @@ public Status findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -665,6 +669,7 @@ public TriggerCase getTriggerCase() {
*
* @return Whether the schedule field is set.
*/
+ @java.lang.Override
public boolean hasSchedule() {
return triggerCase_ == 1;
}
@@ -679,6 +684,7 @@ public boolean hasSchedule() {
*
* @return The schedule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Schedule getSchedule() {
if (triggerCase_ == 1) {
return (com.google.privacy.dlp.v2.Schedule) trigger_;
@@ -694,6 +700,7 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() {
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() {
if (triggerCase_ == 1) {
return (com.google.privacy.dlp.v2.Schedule) trigger_;
@@ -716,6 +723,7 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() {
*
* @return Whether the manual field is set.
*/
+ @java.lang.Override
public boolean hasManual() {
return triggerCase_ == 2;
}
@@ -733,6 +741,7 @@ public boolean hasManual() {
*
* @return The manual.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Manual getManual() {
if (triggerCase_ == 2) {
return (com.google.privacy.dlp.v2.Manual) trigger_;
@@ -751,6 +760,7 @@ public com.google.privacy.dlp.v2.Manual getManual() {
*
* .google.privacy.dlp.v2.Manual manual = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() {
if (triggerCase_ == 2) {
return (com.google.privacy.dlp.v2.Manual) trigger_;
@@ -1164,6 +1174,7 @@ public Builder clearTrigger() {
*
* @return Whether the schedule field is set.
*/
+ @java.lang.Override
public boolean hasSchedule() {
return triggerCase_ == 1;
}
@@ -1178,6 +1189,7 @@ public boolean hasSchedule() {
*
* @return The schedule.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Schedule getSchedule() {
if (scheduleBuilder_ == null) {
if (triggerCase_ == 1) {
@@ -1309,6 +1321,7 @@ public com.google.privacy.dlp.v2.Schedule.Builder getScheduleBuilder() {
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() {
if ((triggerCase_ == 1) && (scheduleBuilder_ != null)) {
return scheduleBuilder_.getMessageOrBuilder();
@@ -1370,6 +1383,7 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() {
*
* @return Whether the manual field is set.
*/
+ @java.lang.Override
public boolean hasManual() {
return triggerCase_ == 2;
}
@@ -1387,6 +1401,7 @@ public boolean hasManual() {
*
* @return The manual.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Manual getManual() {
if (manualBuilder_ == null) {
if (triggerCase_ == 2) {
@@ -1536,6 +1551,7 @@ public com.google.privacy.dlp.v2.Manual.Builder getManualBuilder() {
*
* .google.privacy.dlp.v2.Manual manual = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() {
if ((triggerCase_ == 2) && (manualBuilder_ != null)) {
return manualBuilder_.getMessageOrBuilder();
@@ -1692,6 +1708,7 @@ public JobCase getJobCase() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -1716,6 +1733,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -1741,6 +1759,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The displayName.
*/
+ @java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -1763,6 +1782,7 @@ public java.lang.String getDisplayName() {
*
* @return The bytes for displayName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -1788,6 +1808,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -1810,6 +1831,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -1834,6 +1856,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
* @return Whether the inspectJob field is set.
*/
+ @java.lang.Override
public boolean hasInspectJob() {
return jobCase_ == 4;
}
@@ -1848,6 +1871,7 @@ public boolean hasInspectJob() {
*
* @return The inspectJob.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (jobCase_ == 4) {
return (com.google.privacy.dlp.v2.InspectJobConfig) job_;
@@ -1863,6 +1887,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
*
* .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() {
if (jobCase_ == 4) {
return (com.google.privacy.dlp.v2.InspectJobConfig) job_;
@@ -1883,6 +1908,7 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde
*
* repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
*/
+ @java.lang.Override
public java.util.List getTriggersList() {
return triggers_;
}
@@ -1897,6 +1923,7 @@ public java.util.List getTriggersL
*
* repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>
getTriggersOrBuilderList() {
return triggers_;
@@ -1912,6 +1939,7 @@ public java.util.List getTriggersL
*
* repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
*/
+ @java.lang.Override
public int getTriggersCount() {
return triggers_.size();
}
@@ -1926,6 +1954,7 @@ public int getTriggersCount() {
*
* repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
return triggers_.get(index);
}
@@ -1940,6 +1969,7 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
*
* repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index) {
return triggers_.get(index);
}
@@ -1960,6 +1990,7 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public java.util.List getErrorsList() {
return errors_;
}
@@ -1977,6 +2008,7 @@ public java.util.List getErrorsList() {
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ErrorOrBuilder>
getErrorsOrBuilderList() {
return errors_;
@@ -1995,6 +2027,7 @@ public java.util.List getErrorsList() {
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public int getErrorsCount() {
return errors_.size();
}
@@ -2012,6 +2045,7 @@ public int getErrorsCount() {
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Error getErrors(int index) {
return errors_.get(index);
}
@@ -2029,6 +2063,7 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
return errors_.get(index);
}
@@ -2047,6 +2082,7 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -2062,6 +2098,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -2075,6 +2112,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -2093,6 +2131,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return Whether the updateTime field is set.
*/
+ @java.lang.Override
public boolean hasUpdateTime() {
return updateTime_ != null;
}
@@ -2108,6 +2147,7 @@ public boolean hasUpdateTime() {
*
* @return The updateTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
@@ -2121,6 +2161,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
return getUpdateTime();
}
@@ -2140,6 +2181,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
* @return Whether the lastRunTime field is set.
*/
+ @java.lang.Override
public boolean hasLastRunTime() {
return lastRunTime_ != null;
}
@@ -2156,6 +2198,7 @@ public boolean hasLastRunTime() {
*
* @return The lastRunTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getLastRunTime() {
return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_;
}
@@ -2170,6 +2213,7 @@ public com.google.protobuf.Timestamp getLastRunTime() {
* .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() {
return getLastRunTime();
}
@@ -2189,6 +2233,7 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() {
*
* @return The enum numeric value on the wire for status.
*/
+ @java.lang.Override
public int getStatusValue() {
return status_;
}
@@ -2205,6 +2250,7 @@ public int getStatusValue() {
*
* @return The status.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.JobTrigger.Status result =
@@ -3172,6 +3218,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
* @return Whether the inspectJob field is set.
*/
+ @java.lang.Override
public boolean hasInspectJob() {
return jobCase_ == 4;
}
@@ -3186,6 +3233,7 @@ public boolean hasInspectJob() {
*
* @return The inspectJob.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (inspectJobBuilder_ == null) {
if (jobCase_ == 4) {
@@ -3318,6 +3366,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder()
*
* .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() {
if ((jobCase_ == 4) && (inspectJobBuilder_ != null)) {
return inspectJobBuilder_.getMessageOrBuilder();
@@ -4804,6 +4853,7 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() {
*
* @return The enum numeric value on the wire for status.
*/
+ @java.lang.Override
public int getStatusValue() {
return status_;
}
@@ -4822,6 +4872,7 @@ public int getStatusValue() {
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
+
status_ = value;
onChanged();
return this;
@@ -4839,6 +4890,7 @@ public Builder setStatusValue(int value) {
*
* @return The status.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.JobTrigger.Status result =
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 73644140..0b908572 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
@@ -392,6 +392,7 @@ public IdTypeCase getIdTypeCase() {
*
* @return The kind.
*/
+ @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -417,6 +418,7 @@ public java.lang.String getKind() {
*
* @return The bytes for kind.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getKindBytes() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -443,6 +445,7 @@ public com.google.protobuf.ByteString getKindBytes() {
*
* @return The id.
*/
+ @java.lang.Override
public long getId() {
if (idTypeCase_ == 2) {
return (java.lang.Long) idType_;
@@ -1108,6 +1111,7 @@ public Builder clearId() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = "";
if (idTypeCase_ == 3) {
@@ -1138,6 +1142,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = "";
if (idTypeCase_ == 3) {
@@ -1293,6 +1298,7 @@ public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() {
*
* @return Whether the partitionId field is set.
*/
+ @java.lang.Override
public boolean hasPartitionId() {
return partitionId_ != null;
}
@@ -1309,6 +1315,7 @@ public boolean hasPartitionId() {
*
* @return The partitionId.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
return partitionId_ == null
? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
@@ -1325,6 +1332,7 @@ public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder() {
return getPartitionId();
}
@@ -1347,6 +1355,7 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
*
* repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
*/
+ @java.lang.Override
public java.util.List getPathList() {
return path_;
}
@@ -1366,6 +1375,7 @@ public java.util.List getPathList() {
*
* repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
getPathOrBuilderList() {
return path_;
@@ -1386,6 +1396,7 @@ public java.util.List getPathList() {
*
* repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
*/
+ @java.lang.Override
public int getPathCount() {
return path_.size();
}
@@ -1405,6 +1416,7 @@ public int getPathCount() {
*
* repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
return path_.get(index);
}
@@ -1424,6 +1436,7 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
*
* repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index) {
return path_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
index 1aefc4a0..44e76317 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
@@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -146,6 +147,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
index 55fbf766..8103d77a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
@@ -134,6 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The wrappedKey.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getWrappedKey() {
return wrappedKey_;
}
@@ -151,6 +152,7 @@ public com.google.protobuf.ByteString getWrappedKey() {
*
* @return The cryptoKeyName.
*/
+ @java.lang.Override
public java.lang.String getCryptoKeyName() {
java.lang.Object ref = cryptoKeyName_;
if (ref instanceof java.lang.String) {
@@ -173,6 +175,7 @@ public java.lang.String getCryptoKeyName() {
*
* @return The bytes for cryptoKeyName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCryptoKeyNameBytes() {
java.lang.Object ref = cryptoKeyName_;
if (ref instanceof java.lang.String) {
@@ -532,6 +535,7 @@ public Builder mergeFrom(
*
* @return The wrappedKey.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getWrappedKey() {
return wrappedKey_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
index 7d729672..9b47d288 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
@@ -218,6 +218,7 @@ public SourceCase getSourceCase() {
*
* @return Whether the outputPath field is set.
*/
+ @java.lang.Override
public boolean hasOutputPath() {
return outputPath_ != null;
}
@@ -235,6 +236,7 @@ public boolean hasOutputPath() {
*
* @return The outputPath.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() {
return outputPath_ == null
? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()
@@ -252,6 +254,7 @@ public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() {
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilder() {
return getOutputPath();
}
@@ -268,6 +271,7 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
*
* @return Whether the cloudStorageFileSet field is set.
*/
+ @java.lang.Override
public boolean hasCloudStorageFileSet() {
return sourceCase_ == 2;
}
@@ -282,6 +286,7 @@ public boolean hasCloudStorageFileSet() {
*
* @return The cloudStorageFileSet.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() {
if (sourceCase_ == 2) {
return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_;
@@ -297,6 +302,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() {
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder() {
if (sourceCase_ == 2) {
return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_;
@@ -316,6 +322,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFil
*
* @return Whether the bigQueryField field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryField() {
return sourceCase_ == 3;
}
@@ -330,6 +337,7 @@ public boolean hasBigQueryField() {
*
* @return The bigQueryField.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() {
if (sourceCase_ == 3) {
return (com.google.privacy.dlp.v2.BigQueryField) source_;
@@ -345,6 +353,7 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() {
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilder() {
if (sourceCase_ == 3) {
return (com.google.privacy.dlp.v2.BigQueryField) source_;
@@ -1003,6 +1012,7 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
*
* @return Whether the cloudStorageFileSet field is set.
*/
+ @java.lang.Override
public boolean hasCloudStorageFileSet() {
return sourceCase_ == 2;
}
@@ -1017,6 +1027,7 @@ public boolean hasCloudStorageFileSet() {
*
* @return The cloudStorageFileSet.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() {
if (cloudStorageFileSetBuilder_ == null) {
if (sourceCase_ == 2) {
@@ -1149,6 +1160,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder
getCloudStorageFileSetOrBuilder() {
if ((sourceCase_ == 2) && (cloudStorageFileSetBuilder_ != null)) {
@@ -1210,6 +1222,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile
*
* @return Whether the bigQueryField field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryField() {
return sourceCase_ == 3;
}
@@ -1224,6 +1237,7 @@ public boolean hasBigQueryField() {
*
* @return The bigQueryField.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() {
if (bigQueryFieldBuilder_ == null) {
if (sourceCase_ == 3) {
@@ -1356,6 +1370,7 @@ public com.google.privacy.dlp.v2.BigQueryField.Builder getBigQueryFieldBuilder()
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilder() {
if ((sourceCase_ == 3) && (bigQueryFieldBuilder_ != null)) {
return bigQueryFieldBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
index 76622075..486f60df 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
@@ -120,6 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The approxNumPhrases.
*/
+ @java.lang.Override
public long getApproxNumPhrases() {
return approxNumPhrases_;
}
@@ -453,6 +454,7 @@ public Builder mergeFrom(
*
* @return The approxNumPhrases.
*/
+ @java.lang.Override
public long getApproxNumPhrases() {
return approxNumPhrases_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
index 462de16c..636c804a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
@@ -174,6 +174,10 @@ public Likelihood findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
index fc46f3d4..b17339a0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
@@ -157,6 +157,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -182,6 +183,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -208,6 +210,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The pageToken.
*/
+ @java.lang.Override
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -231,6 +234,7 @@ public java.lang.String getPageToken() {
*
* @return The bytes for pageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -283,6 +288,7 @@ public int getPageSize() {
*
* @return The orderBy.
*/
+ @java.lang.Override
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -314,6 +320,7 @@ public java.lang.String getOrderBy() {
*
* @return The bytes for orderBy.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -339,6 +346,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -361,6 +369,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1000,6 +1009,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
index 09310ce8..2b8394b3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
@@ -141,6 +141,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
*/
+ @java.lang.Override
public java.util.List getDeidentifyTemplatesList() {
return deidentifyTemplates_;
}
@@ -154,6 +155,7 @@ public java.util.List getDeidentif
*
* repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>
getDeidentifyTemplatesOrBuilderList() {
return deidentifyTemplates_;
@@ -168,6 +170,7 @@ public java.util.List getDeidentif
*
* repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
*/
+ @java.lang.Override
public int getDeidentifyTemplatesCount() {
return deidentifyTemplates_.size();
}
@@ -181,6 +184,7 @@ public int getDeidentifyTemplatesCount() {
*
* repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int index) {
return deidentifyTemplates_.get(index);
}
@@ -194,6 +198,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
*
* repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(
int index) {
return deidentifyTemplates_.get(index);
@@ -213,6 +218,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
* @return The nextPageToken.
*/
+ @java.lang.Override
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
@@ -236,6 +242,7 @@ public java.lang.String getNextPageToken() {
*
* @return The bytes for nextPageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
index c76b671e..9daa99c5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
@@ -172,6 +172,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -197,6 +198,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -244,6 +246,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The filter.
*/
+ @java.lang.Override
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -288,6 +291,7 @@ public java.lang.String getFilter() {
*
* @return The bytes for filter.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -313,6 +317,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -330,6 +335,7 @@ public int getPageSize() {
*
* @return The pageToken.
*/
+ @java.lang.Override
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -352,6 +358,7 @@ public java.lang.String getPageToken() {
*
* @return The bytes for pageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -377,6 +384,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -391,6 +399,7 @@ public int getTypeValue() {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJobType result =
@@ -420,6 +429,7 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
* @return The orderBy.
*/
+ @java.lang.Override
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -451,6 +461,7 @@ public java.lang.String getOrderBy() {
*
* @return The bytes for orderBy.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -476,6 +487,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -498,6 +510,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1269,6 +1282,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -1426,6 +1440,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -1442,6 +1457,7 @@ public int getTypeValue() {
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
@@ -1457,6 +1473,7 @@ public Builder setTypeValue(int value) {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.DlpJobType result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
index 300194f9..2a426d76 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
@@ -137,6 +137,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
*/
+ @java.lang.Override
public java.util.List getJobsList() {
return jobs_;
}
@@ -149,6 +150,7 @@ public java.util.List getJobsList() {
*
* repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.DlpJobOrBuilder>
getJobsOrBuilderList() {
return jobs_;
@@ -162,6 +164,7 @@ public java.util.List getJobsList() {
*
* repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
*/
+ @java.lang.Override
public int getJobsCount() {
return jobs_.size();
}
@@ -174,6 +177,7 @@ public int getJobsCount() {
*
* repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJob getJobs(int index) {
return jobs_.get(index);
}
@@ -186,6 +190,7 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) {
*
* repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) {
return jobs_.get(index);
}
@@ -203,6 +208,7 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) {
*
* @return The nextPageToken.
*/
+ @java.lang.Override
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
@@ -225,6 +231,7 @@ public java.lang.String getNextPageToken() {
*
* @return The bytes for nextPageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
index 7f009bee..e2e734ad 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
@@ -148,6 +148,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -170,6 +171,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -197,6 +199,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The languageCode.
*/
+ @java.lang.Override
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
@@ -221,6 +224,7 @@ public java.lang.String getLanguageCode() {
*
* @return The bytes for languageCode.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
@@ -247,6 +251,7 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
*
* @return The filter.
*/
+ @java.lang.Override
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -270,6 +275,7 @@ public java.lang.String getFilter() {
*
* @return The bytes for filter.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -295,6 +301,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -317,6 +324,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
index 5fe75943..8064fa7c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
@@ -131,6 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
*/
+ @java.lang.Override
public java.util.List getInfoTypesList() {
return infoTypes_;
}
@@ -143,6 +144,7 @@ public java.util.List getInfoType
*
* repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>
getInfoTypesOrBuilderList() {
return infoTypes_;
@@ -156,6 +158,7 @@ public java.util.List getInfoType
*
* repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
*/
+ @java.lang.Override
public int getInfoTypesCount() {
return infoTypes_.size();
}
@@ -168,6 +171,7 @@ public int getInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) {
return infoTypes_.get(index);
}
@@ -180,6 +184,7 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index) {
return infoTypes_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
index 32a3abc7..cfc24db6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
@@ -156,6 +156,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -181,6 +182,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -207,6 +209,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The pageToken.
*/
+ @java.lang.Override
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -230,6 +233,7 @@ public java.lang.String getPageToken() {
*
* @return The bytes for pageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -256,6 +260,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -282,6 +287,7 @@ public int getPageSize() {
*
* @return The orderBy.
*/
+ @java.lang.Override
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -313,6 +319,7 @@ public java.lang.String getOrderBy() {
*
* @return The bytes for orderBy.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -338,6 +345,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -360,6 +368,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -999,6 +1008,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
index 233ccb97..84995f01 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
@@ -139,6 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
*/
+ @java.lang.Override
public java.util.List getInspectTemplatesList() {
return inspectTemplates_;
}
@@ -151,6 +152,7 @@ public java.util.List getInspectTempl
*
* repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.InspectTemplateOrBuilder>
getInspectTemplatesOrBuilderList() {
return inspectTemplates_;
@@ -164,6 +166,7 @@ public java.util.List getInspectTempl
*
* repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
*/
+ @java.lang.Override
public int getInspectTemplatesCount() {
return inspectTemplates_.size();
}
@@ -176,6 +179,7 @@ public int getInspectTemplatesCount() {
*
* repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) {
return inspectTemplates_.get(index);
}
@@ -188,6 +192,7 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index)
*
* repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder(
int index) {
return inspectTemplates_.get(index);
@@ -207,6 +212,7 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB
*
* @return The nextPageToken.
*/
+ @java.lang.Override
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
@@ -230,6 +236,7 @@ public java.lang.String getNextPageToken() {
*
* @return The bytes for nextPageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
index 6d3206f8..20cbc930 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
@@ -164,6 +164,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -189,6 +190,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -216,6 +218,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The pageToken.
*/
+ @java.lang.Override
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -240,6 +243,7 @@ public java.lang.String getPageToken() {
*
* @return The bytes for pageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -293,6 +298,7 @@ public int getPageSize() {
*
* @return The orderBy.
*/
+ @java.lang.Override
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -326,6 +332,7 @@ public java.lang.String getOrderBy() {
*
* @return The bytes for orderBy.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -369,6 +376,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
* @return The filter.
*/
+ @java.lang.Override
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -409,6 +417,7 @@ public java.lang.String getFilter() {
*
* @return The bytes for filter.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
if (ref instanceof java.lang.String) {
@@ -434,6 +443,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -456,6 +466,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1113,6 +1124,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
index d3196b7b..756100ca 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
@@ -138,6 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;
*/
+ @java.lang.Override
public java.util.List getJobTriggersList() {
return jobTriggers_;
}
@@ -150,6 +151,7 @@ public java.util.List getJobTriggersList()
*
* repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.JobTriggerOrBuilder>
getJobTriggersOrBuilderList() {
return jobTriggers_;
@@ -163,6 +165,7 @@ public java.util.List getJobTriggersList()
*
* repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;
*/
+ @java.lang.Override
public int getJobTriggersCount() {
return jobTriggers_.size();
}
@@ -175,6 +178,7 @@ public int getJobTriggersCount() {
*
* repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) {
return jobTriggers_.get(index);
}
@@ -187,6 +191,7 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) {
*
* repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index) {
return jobTriggers_.get(index);
}
@@ -205,6 +210,7 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int
*
* @return The nextPageToken.
*/
+ @java.lang.Override
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
@@ -228,6 +234,7 @@ public java.lang.String getNextPageToken() {
*
* @return The bytes for nextPageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
index a33f39fa..4a5a31e1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
@@ -156,6 +156,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -181,6 +182,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -207,6 +209,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The pageToken.
*/
+ @java.lang.Override
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -230,6 +233,7 @@ public java.lang.String getPageToken() {
*
* @return The bytes for pageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
if (ref instanceof java.lang.String) {
@@ -256,6 +260,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
@@ -283,6 +288,7 @@ public int getPageSize() {
*
* @return The orderBy.
*/
+ @java.lang.Override
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -315,6 +321,7 @@ public java.lang.String getOrderBy() {
*
* @return The bytes for orderBy.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
if (ref instanceof java.lang.String) {
@@ -340,6 +347,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -362,6 +370,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1000,6 +1009,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
* @return The pageSize.
*/
+ @java.lang.Override
public int getPageSize() {
return pageSize_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
index 0afb29d7..793f2a15 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
@@ -139,6 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;
*/
+ @java.lang.Override
public java.util.List getStoredInfoTypesList() {
return storedInfoTypes_;
}
@@ -151,6 +152,7 @@ public java.util.List getStoredInfoTyp
*
* repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>
getStoredInfoTypesOrBuilderList() {
return storedInfoTypes_;
@@ -164,6 +166,7 @@ public java.util.List getStoredInfoTyp
*
* repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;
*/
+ @java.lang.Override
public int getStoredInfoTypesCount() {
return storedInfoTypes_.size();
}
@@ -176,6 +179,7 @@ public int getStoredInfoTypesCount() {
*
* repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) {
return storedInfoTypes_.get(index);
}
@@ -188,6 +192,7 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) {
*
* repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index) {
return storedInfoTypes_.get(index);
}
@@ -206,6 +211,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui
*
* @return The nextPageToken.
*/
+ @java.lang.Override
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
@@ -229,6 +235,7 @@ public java.lang.String getNextPageToken() {
*
* @return The bytes for nextPageToken.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
index 330c4320..c9dd74e5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
@@ -183,6 +183,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the byteRange field is set.
*/
+ @java.lang.Override
public boolean hasByteRange() {
return byteRange_ != null;
}
@@ -201,6 +202,7 @@ public boolean hasByteRange() {
*
* @return The byteRange.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Range getByteRange() {
return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_;
}
@@ -217,6 +219,7 @@ public com.google.privacy.dlp.v2.Range getByteRange() {
*
* .google.privacy.dlp.v2.Range byte_range = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
return getByteRange();
}
@@ -236,6 +239,7 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
*
* @return Whether the codepointRange field is set.
*/
+ @java.lang.Override
public boolean hasCodepointRange() {
return codepointRange_ != null;
}
@@ -252,6 +256,7 @@ public boolean hasCodepointRange() {
*
* @return The codepointRange.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Range getCodepointRange() {
return codepointRange_ == null
? com.google.privacy.dlp.v2.Range.getDefaultInstance()
@@ -268,6 +273,7 @@ public com.google.privacy.dlp.v2.Range getCodepointRange() {
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
return getCodepointRange();
}
@@ -284,6 +290,7 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
+ @java.lang.Override
public java.util.List getContentLocationsList() {
return contentLocations_;
}
@@ -297,6 +304,7 @@ public java.util.List getContentLocat
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ContentLocationOrBuilder>
getContentLocationsOrBuilderList() {
return contentLocations_;
@@ -311,6 +319,7 @@ public java.util.List getContentLocat
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
+ @java.lang.Override
public int getContentLocationsCount() {
return contentLocations_.size();
}
@@ -324,6 +333,7 @@ public int getContentLocationsCount() {
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index) {
return contentLocations_.get(index);
}
@@ -337,6 +347,7 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(
int index) {
return contentLocations_.get(index);
@@ -355,6 +366,7 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
*
* @return Whether the container field is set.
*/
+ @java.lang.Override
public boolean hasContainer() {
return container_ != null;
}
@@ -369,6 +381,7 @@ public boolean hasContainer() {
*
* @return The container.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Container getContainer() {
return container_ == null
? com.google.privacy.dlp.v2.Container.getDefaultInstance()
@@ -383,6 +396,7 @@ public com.google.privacy.dlp.v2.Container getContainer() {
*
* .google.privacy.dlp.v2.Container container = 8;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() {
return getContainer();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
index bd456aab..90d30b09 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
@@ -181,6 +181,10 @@ public MatchingType findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
index d5ac575e..5a0bcd18 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
@@ -184,6 +184,7 @@ public LabelCase getLabelCase() {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -198,6 +199,7 @@ public int getTypeValue() {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.MetadataType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.MetadataType result =
@@ -217,6 +219,7 @@ public com.google.privacy.dlp.v2.MetadataType getType() {
*
* @return Whether the storageLabel field is set.
*/
+ @java.lang.Override
public boolean hasStorageLabel() {
return labelCase_ == 3;
}
@@ -231,6 +234,7 @@ public boolean hasStorageLabel() {
*
* @return The storageLabel.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() {
if (labelCase_ == 3) {
return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_;
@@ -246,6 +250,7 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() {
*
* .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() {
if (labelCase_ == 3) {
return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_;
@@ -639,6 +644,7 @@ public Builder clearLabel() {
*
* @return The enum numeric value on the wire for type.
*/
+ @java.lang.Override
public int getTypeValue() {
return type_;
}
@@ -655,6 +661,7 @@ public int getTypeValue() {
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
+
type_ = value;
onChanged();
return this;
@@ -670,6 +677,7 @@ public Builder setTypeValue(int value) {
*
* @return The type.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.MetadataType getType() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.MetadataType result =
@@ -731,6 +739,7 @@ public Builder clearType() {
*
* @return Whether the storageLabel field is set.
*/
+ @java.lang.Override
public boolean hasStorageLabel() {
return labelCase_ == 3;
}
@@ -745,6 +754,7 @@ public boolean hasStorageLabel() {
*
* @return The storageLabel.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() {
if (storageLabelBuilder_ == null) {
if (labelCase_ == 3) {
@@ -877,6 +887,7 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBui
*
* .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() {
if ((labelCase_ == 3) && (storageLabelBuilder_ != null)) {
return storageLabelBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java
index c891a5d3..b171037f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java
@@ -117,6 +117,10 @@ public MetadataType findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
index 75452c2c..50c572ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
@@ -317,6 +317,10 @@ public OutputSchema findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -416,6 +420,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the table field is set.
*/
+ @java.lang.Override
public boolean hasTable() {
return typeCase_ == 1;
}
@@ -441,6 +446,7 @@ public boolean hasTable() {
*
* @return The table.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.BigQueryTable) type_;
@@ -467,6 +473,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() {
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.BigQueryTable) type_;
@@ -495,6 +502,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
* @return The enum numeric value on the wire for outputSchema.
*/
+ @java.lang.Override
public int getOutputSchemaValue() {
return outputSchema_;
}
@@ -517,6 +525,7 @@ public int getOutputSchemaValue() {
*
* @return The outputSchema.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result =
@@ -931,6 +940,7 @@ public Builder clearType() {
*
* @return Whether the table field is set.
*/
+ @java.lang.Override
public boolean hasTable() {
return typeCase_ == 1;
}
@@ -956,6 +966,7 @@ public boolean hasTable() {
*
* @return The table.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (tableBuilder_ == null) {
if (typeCase_ == 1) {
@@ -1153,6 +1164,7 @@ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() {
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
if ((typeCase_ == 1) && (tableBuilder_ != null)) {
return tableBuilder_.getMessageOrBuilder();
@@ -1226,6 +1238,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
* @return The enum numeric value on the wire for outputSchema.
*/
+ @java.lang.Override
public int getOutputSchemaValue() {
return outputSchema_;
}
@@ -1250,6 +1263,7 @@ public int getOutputSchemaValue() {
* @return This builder for chaining.
*/
public Builder setOutputSchemaValue(int value) {
+
outputSchema_ = value;
onChanged();
return this;
@@ -1273,6 +1287,7 @@ public Builder setOutputSchemaValue(int value) {
*
* @return The outputSchema.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
index cb07051c..67477351 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
@@ -136,6 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The projectId.
*/
+ @java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
@@ -158,6 +159,7 @@ public java.lang.String getProjectId() {
*
* @return The bytes for projectId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
@@ -183,6 +185,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* @return The namespaceId.
*/
+ @java.lang.Override
public java.lang.String getNamespaceId() {
java.lang.Object ref = namespaceId_;
if (ref instanceof java.lang.String) {
@@ -205,6 +208,7 @@ public java.lang.String getNamespaceId() {
*
* @return The bytes for namespaceId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNamespaceIdBytes() {
java.lang.Object ref = namespaceId_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
index 3e9e143c..46559746 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
@@ -388,6 +388,7 @@ public TransformationCase getTransformationCase() {
*
* @return Whether the replaceConfig field is set.
*/
+ @java.lang.Override
public boolean hasReplaceConfig() {
return transformationCase_ == 1;
}
@@ -402,6 +403,7 @@ public boolean hasReplaceConfig() {
*
* @return The replaceConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() {
if (transformationCase_ == 1) {
return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_;
@@ -417,6 +419,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() {
*
* .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder() {
if (transformationCase_ == 1) {
return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_;
@@ -436,6 +439,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB
*
* @return Whether the redactConfig field is set.
*/
+ @java.lang.Override
public boolean hasRedactConfig() {
return transformationCase_ == 2;
}
@@ -450,6 +454,7 @@ public boolean hasRedactConfig() {
*
* @return The redactConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() {
if (transformationCase_ == 2) {
return (com.google.privacy.dlp.v2.RedactConfig) transformation_;
@@ -465,6 +470,7 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() {
*
* .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder() {
if (transformationCase_ == 2) {
return (com.google.privacy.dlp.v2.RedactConfig) transformation_;
@@ -484,6 +490,7 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(
*
* @return Whether the characterMaskConfig field is set.
*/
+ @java.lang.Override
public boolean hasCharacterMaskConfig() {
return transformationCase_ == 3;
}
@@ -498,6 +505,7 @@ public boolean hasCharacterMaskConfig() {
*
* @return The characterMaskConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
if (transformationCase_ == 3) {
return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_;
@@ -513,6 +521,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
*
* .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder() {
if (transformationCase_ == 3) {
return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_;
@@ -533,6 +542,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskCo
*
* @return Whether the cryptoReplaceFfxFpeConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoReplaceFfxFpeConfig() {
return transformationCase_ == 4;
}
@@ -548,6 +558,7 @@ public boolean hasCryptoReplaceFfxFpeConfig() {
*
* @return The cryptoReplaceFfxFpeConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() {
if (transformationCase_ == 4) {
return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_;
@@ -564,6 +575,7 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFp
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder
getCryptoReplaceFfxFpeConfigOrBuilder() {
if (transformationCase_ == 4) {
@@ -584,6 +596,7 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFp
*
* @return Whether the fixedSizeBucketingConfig field is set.
*/
+ @java.lang.Override
public boolean hasFixedSizeBucketingConfig() {
return transformationCase_ == 5;
}
@@ -598,6 +611,7 @@ public boolean hasFixedSizeBucketingConfig() {
*
* @return The fixedSizeBucketingConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() {
if (transformationCase_ == 5) {
return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_;
@@ -613,6 +627,7 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC
*
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder
getFixedSizeBucketingConfigOrBuilder() {
if (transformationCase_ == 5) {
@@ -633,6 +648,7 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC
*
* @return Whether the bucketingConfig field is set.
*/
+ @java.lang.Override
public boolean hasBucketingConfig() {
return transformationCase_ == 6;
}
@@ -647,6 +663,7 @@ public boolean hasBucketingConfig() {
*
* @return The bucketingConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() {
if (transformationCase_ == 6) {
return (com.google.privacy.dlp.v2.BucketingConfig) transformation_;
@@ -662,6 +679,7 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() {
*
* .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder() {
if (transformationCase_ == 6) {
return (com.google.privacy.dlp.v2.BucketingConfig) transformation_;
@@ -682,6 +700,7 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu
*
* @return Whether the replaceWithInfoTypeConfig field is set.
*/
+ @java.lang.Override
public boolean hasReplaceWithInfoTypeConfig() {
return transformationCase_ == 7;
}
@@ -697,6 +716,7 @@ public boolean hasReplaceWithInfoTypeConfig() {
*
* @return The replaceWithInfoTypeConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() {
if (transformationCase_ == 7) {
return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_;
@@ -713,6 +733,7 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTyp
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder
getReplaceWithInfoTypeConfigOrBuilder() {
if (transformationCase_ == 7) {
@@ -733,6 +754,7 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTyp
*
* @return Whether the timePartConfig field is set.
*/
+ @java.lang.Override
public boolean hasTimePartConfig() {
return transformationCase_ == 8;
}
@@ -747,6 +769,7 @@ public boolean hasTimePartConfig() {
*
* @return The timePartConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() {
if (transformationCase_ == 8) {
return (com.google.privacy.dlp.v2.TimePartConfig) transformation_;
@@ -762,6 +785,7 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() {
*
* .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder() {
if (transformationCase_ == 8) {
return (com.google.privacy.dlp.v2.TimePartConfig) transformation_;
@@ -781,6 +805,7 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil
*
* @return Whether the cryptoHashConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoHashConfig() {
return transformationCase_ == 9;
}
@@ -795,6 +820,7 @@ public boolean hasCryptoHashConfig() {
*
* @return The cryptoHashConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() {
if (transformationCase_ == 9) {
return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_;
@@ -810,6 +836,7 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() {
*
* .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder() {
if (transformationCase_ == 9) {
return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_;
@@ -829,6 +856,7 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr
*
* @return Whether the dateShiftConfig field is set.
*/
+ @java.lang.Override
public boolean hasDateShiftConfig() {
return transformationCase_ == 11;
}
@@ -843,6 +871,7 @@ public boolean hasDateShiftConfig() {
*
* @return The dateShiftConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() {
if (transformationCase_ == 11) {
return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_;
@@ -858,6 +887,7 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() {
*
* .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder() {
if (transformationCase_ == 11) {
return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_;
@@ -877,6 +907,7 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu
*
* @return Whether the cryptoDeterministicConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoDeterministicConfig() {
return transformationCase_ == 12;
}
@@ -891,6 +922,7 @@ public boolean hasCryptoDeterministicConfig() {
*
* @return The cryptoDeterministicConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() {
if (transformationCase_ == 12) {
return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_;
@@ -906,6 +938,7 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi
*
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder
getCryptoDeterministicConfigOrBuilder() {
if (transformationCase_ == 12) {
@@ -1566,6 +1599,7 @@ public Builder clearTransformation() {
*
* @return Whether the replaceConfig field is set.
*/
+ @java.lang.Override
public boolean hasReplaceConfig() {
return transformationCase_ == 1;
}
@@ -1580,6 +1614,7 @@ public boolean hasReplaceConfig() {
*
* @return The replaceConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() {
if (replaceConfigBuilder_ == null) {
if (transformationCase_ == 1) {
@@ -1713,6 +1748,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil
*
* .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder() {
if ((transformationCase_ == 1) && (replaceConfigBuilder_ != null)) {
return replaceConfigBuilder_.getMessageOrBuilder();
@@ -1773,6 +1809,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB
*
* @return Whether the redactConfig field is set.
*/
+ @java.lang.Override
public boolean hasRedactConfig() {
return transformationCase_ == 2;
}
@@ -1787,6 +1824,7 @@ public boolean hasRedactConfig() {
*
* @return The redactConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() {
if (redactConfigBuilder_ == null) {
if (transformationCase_ == 2) {
@@ -1918,6 +1956,7 @@ public com.google.privacy.dlp.v2.RedactConfig.Builder getRedactConfigBuilder() {
*
* .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder() {
if ((transformationCase_ == 2) && (redactConfigBuilder_ != null)) {
return redactConfigBuilder_.getMessageOrBuilder();
@@ -1978,6 +2017,7 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(
*
* @return Whether the characterMaskConfig field is set.
*/
+ @java.lang.Override
public boolean hasCharacterMaskConfig() {
return transformationCase_ == 3;
}
@@ -1992,6 +2032,7 @@ public boolean hasCharacterMaskConfig() {
*
* @return The characterMaskConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
if (characterMaskConfigBuilder_ == null) {
if (transformationCase_ == 3) {
@@ -2125,6 +2166,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon
*
* .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder
getCharacterMaskConfigOrBuilder() {
if ((transformationCase_ == 3) && (characterMaskConfigBuilder_ != null)) {
@@ -2187,6 +2229,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon
*
* @return Whether the cryptoReplaceFfxFpeConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoReplaceFfxFpeConfig() {
return transformationCase_ == 4;
}
@@ -2202,6 +2245,7 @@ public boolean hasCryptoReplaceFfxFpeConfig() {
*
* @return The cryptoReplaceFfxFpeConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() {
if (cryptoReplaceFfxFpeConfigBuilder_ == null) {
if (transformationCase_ == 4) {
@@ -2344,6 +2388,7 @@ public Builder clearCryptoReplaceFfxFpeConfig() {
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder
getCryptoReplaceFfxFpeConfigOrBuilder() {
if ((transformationCase_ == 4) && (cryptoReplaceFfxFpeConfigBuilder_ != null)) {
@@ -2407,6 +2452,7 @@ public Builder clearCryptoReplaceFfxFpeConfig() {
*
* @return Whether the fixedSizeBucketingConfig field is set.
*/
+ @java.lang.Override
public boolean hasFixedSizeBucketingConfig() {
return transformationCase_ == 5;
}
@@ -2421,6 +2467,7 @@ public boolean hasFixedSizeBucketingConfig() {
*
* @return The fixedSizeBucketingConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() {
if (fixedSizeBucketingConfigBuilder_ == null) {
if (transformationCase_ == 5) {
@@ -2557,6 +2604,7 @@ public Builder clearFixedSizeBucketingConfig() {
*
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder
getFixedSizeBucketingConfigOrBuilder() {
if ((transformationCase_ == 5) && (fixedSizeBucketingConfigBuilder_ != null)) {
@@ -2618,6 +2666,7 @@ public Builder clearFixedSizeBucketingConfig() {
*
* @return Whether the bucketingConfig field is set.
*/
+ @java.lang.Override
public boolean hasBucketingConfig() {
return transformationCase_ == 6;
}
@@ -2632,6 +2681,7 @@ public boolean hasBucketingConfig() {
*
* @return The bucketingConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() {
if (bucketingConfigBuilder_ == null) {
if (transformationCase_ == 6) {
@@ -2764,6 +2814,7 @@ public com.google.privacy.dlp.v2.BucketingConfig.Builder getBucketingConfigBuild
*
* .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder() {
if ((transformationCase_ == 6) && (bucketingConfigBuilder_ != null)) {
return bucketingConfigBuilder_.getMessageOrBuilder();
@@ -2825,6 +2876,7 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu
*
* @return Whether the replaceWithInfoTypeConfig field is set.
*/
+ @java.lang.Override
public boolean hasReplaceWithInfoTypeConfig() {
return transformationCase_ == 7;
}
@@ -2840,6 +2892,7 @@ public boolean hasReplaceWithInfoTypeConfig() {
*
* @return The replaceWithInfoTypeConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() {
if (replaceWithInfoTypeConfigBuilder_ == null) {
if (transformationCase_ == 7) {
@@ -2982,6 +3035,7 @@ public Builder clearReplaceWithInfoTypeConfig() {
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder
getReplaceWithInfoTypeConfigOrBuilder() {
if ((transformationCase_ == 7) && (replaceWithInfoTypeConfigBuilder_ != null)) {
@@ -3045,6 +3099,7 @@ public Builder clearReplaceWithInfoTypeConfig() {
*
* @return Whether the timePartConfig field is set.
*/
+ @java.lang.Override
public boolean hasTimePartConfig() {
return transformationCase_ == 8;
}
@@ -3059,6 +3114,7 @@ public boolean hasTimePartConfig() {
*
* @return The timePartConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() {
if (timePartConfigBuilder_ == null) {
if (transformationCase_ == 8) {
@@ -3191,6 +3247,7 @@ public com.google.privacy.dlp.v2.TimePartConfig.Builder getTimePartConfigBuilder
*
* .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder() {
if ((transformationCase_ == 8) && (timePartConfigBuilder_ != null)) {
return timePartConfigBuilder_.getMessageOrBuilder();
@@ -3251,6 +3308,7 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil
*
* @return Whether the cryptoHashConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoHashConfig() {
return transformationCase_ == 9;
}
@@ -3265,6 +3323,7 @@ public boolean hasCryptoHashConfig() {
*
* @return The cryptoHashConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() {
if (cryptoHashConfigBuilder_ == null) {
if (transformationCase_ == 9) {
@@ -3397,6 +3456,7 @@ public com.google.privacy.dlp.v2.CryptoHashConfig.Builder getCryptoHashConfigBui
*
* .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder() {
if ((transformationCase_ == 9) && (cryptoHashConfigBuilder_ != null)) {
return cryptoHashConfigBuilder_.getMessageOrBuilder();
@@ -3457,6 +3517,7 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr
*
* @return Whether the dateShiftConfig field is set.
*/
+ @java.lang.Override
public boolean hasDateShiftConfig() {
return transformationCase_ == 11;
}
@@ -3471,6 +3532,7 @@ public boolean hasDateShiftConfig() {
*
* @return The dateShiftConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() {
if (dateShiftConfigBuilder_ == null) {
if (transformationCase_ == 11) {
@@ -3603,6 +3665,7 @@ public com.google.privacy.dlp.v2.DateShiftConfig.Builder getDateShiftConfigBuild
*
* .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder() {
if ((transformationCase_ == 11) && (dateShiftConfigBuilder_ != null)) {
return dateShiftConfigBuilder_.getMessageOrBuilder();
@@ -3664,6 +3727,7 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu
*
* @return Whether the cryptoDeterministicConfig field is set.
*/
+ @java.lang.Override
public boolean hasCryptoDeterministicConfig() {
return transformationCase_ == 12;
}
@@ -3679,6 +3743,7 @@ public boolean hasCryptoDeterministicConfig() {
*
* @return The cryptoDeterministicConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() {
if (cryptoDeterministicConfigBuilder_ == null) {
if (transformationCase_ == 12) {
@@ -3821,6 +3886,7 @@ public Builder clearCryptoDeterministicConfig() {
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder
getCryptoDeterministicConfigOrBuilder() {
if ((transformationCase_ == 12) && (cryptoDeterministicConfigBuilder_ != null)) {
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 5b2349d1..d07e5f5d 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
@@ -383,6 +383,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -398,6 +399,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -411,6 +413,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -1165,6 +1168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -1182,6 +1186,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -1197,6 +1202,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -2071,6 +2077,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public java.util.List getQuasiIdsList() {
return quasiIds_;
}
@@ -2087,6 +2094,7 @@ public java.util.List getQuasiIdsList() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getQuasiIdsOrBuilderList() {
return quasiIds_;
@@ -2104,6 +2112,7 @@ public java.util.List getQuasiIdsList() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -2120,6 +2129,7 @@ public int getQuasiIdsCount() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
return quasiIds_.get(index);
}
@@ -2136,6 +2146,7 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
return quasiIds_.get(index);
}
@@ -2161,6 +2172,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
*
* @return Whether the entityId field is set.
*/
+ @java.lang.Override
public boolean hasEntityId() {
return entityId_ != null;
}
@@ -2183,6 +2195,7 @@ public boolean hasEntityId() {
*
* @return The entityId.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.EntityId getEntityId() {
return entityId_ == null
? com.google.privacy.dlp.v2.EntityId.getDefaultInstance()
@@ -2205,6 +2218,7 @@ public com.google.privacy.dlp.v2.EntityId getEntityId() {
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
return getEntityId();
}
@@ -3562,6 +3576,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public java.util.List getQuasiIdsList() {
return quasiIds_;
}
@@ -3576,6 +3591,7 @@ public java.util.List getQuasiIdsList() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getQuasiIdsOrBuilderList() {
return quasiIds_;
@@ -3591,6 +3607,7 @@ public java.util.List getQuasiIdsList() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -3605,6 +3622,7 @@ public int getQuasiIdsCount() {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
return quasiIds_.get(index);
}
@@ -3619,6 +3637,7 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
*
* repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
return quasiIds_.get(index);
}
@@ -3636,6 +3655,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
*
* @return Whether the sensitiveAttribute field is set.
*/
+ @java.lang.Override
public boolean hasSensitiveAttribute() {
return sensitiveAttribute_ != null;
}
@@ -3650,6 +3670,7 @@ public boolean hasSensitiveAttribute() {
*
* @return The sensitiveAttribute.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() {
return sensitiveAttribute_ == null
? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
@@ -3664,6 +3685,7 @@ public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() {
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder() {
return getSensitiveAttribute();
}
@@ -5369,6 +5391,7 @@ public TagCase getTagCase() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -5384,6 +5407,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -5397,6 +5421,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
* .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -5417,6 +5442,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return tagCase_ == 2;
}
@@ -5435,6 +5461,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (tagCase_ == 2) {
return (com.google.privacy.dlp.v2.InfoType) tag_;
@@ -5454,6 +5481,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if (tagCase_ == 2) {
return (com.google.privacy.dlp.v2.InfoType) tag_;
@@ -5534,6 +5562,7 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
* @return Whether the inferred field is set.
*/
+ @java.lang.Override
public boolean hasInferred() {
return tagCase_ == 4;
}
@@ -5549,6 +5578,7 @@ public boolean hasInferred() {
*
* @return The inferred.
*/
+ @java.lang.Override
public com.google.protobuf.Empty getInferred() {
if (tagCase_ == 4) {
return (com.google.protobuf.Empty) tag_;
@@ -5565,6 +5595,7 @@ public com.google.protobuf.Empty getInferred() {
*
* .google.protobuf.Empty inferred = 4;
*/
+ @java.lang.Override
public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
if (tagCase_ == 4) {
return (com.google.protobuf.Empty) tag_;
@@ -6247,6 +6278,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return tagCase_ == 2;
}
@@ -6265,6 +6297,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
if (tagCase_ == 2) {
@@ -6419,6 +6452,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if ((tagCase_ == 2) && (infoTypeBuilder_ != null)) {
return infoTypeBuilder_.getMessageOrBuilder();
@@ -6478,6 +6512,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The customTag.
*/
+ @java.lang.Override
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
if (tagCase_ == 3) {
@@ -6507,6 +6542,7 @@ public java.lang.String getCustomTag() {
*
* @return The bytes for customTag.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
if (tagCase_ == 3) {
@@ -6609,6 +6645,7 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
*
* @return Whether the inferred field is set.
*/
+ @java.lang.Override
public boolean hasInferred() {
return tagCase_ == 4;
}
@@ -6624,6 +6661,7 @@ public boolean hasInferred() {
*
* @return The inferred.
*/
+ @java.lang.Override
public com.google.protobuf.Empty getInferred() {
if (inferredBuilder_ == null) {
if (tagCase_ == 4) {
@@ -6759,6 +6797,7 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
*
* .google.protobuf.Empty inferred = 4;
*/
+ @java.lang.Override
public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
if ((tagCase_ == 4) && (inferredBuilder_ != null)) {
return inferredBuilder_.getMessageOrBuilder();
@@ -7357,6 +7396,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -7371,6 +7411,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -7383,6 +7424,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -7400,6 +7442,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return The customTag.
*/
+ @java.lang.Override
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -7422,6 +7465,7 @@ public java.lang.String getCustomTag() {
*
* @return The bytes for customTag.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -8210,6 +8254,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* @return Whether the table field is set.
*/
+ @java.lang.Override
public boolean hasTable() {
return table_ != null;
}
@@ -8226,6 +8271,7 @@ public boolean hasTable() {
*
* @return The table.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
return table_ == null
? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
@@ -8242,6 +8288,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() {
* .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
return getTable();
}
@@ -8262,6 +8309,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
.QuasiIdField>
@@ -8279,6 +8327,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List<
? extends
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
@@ -8297,6 +8346,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -8311,6 +8361,7 @@ public int getQuasiIdsCount() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
.QuasiIdField
getQuasiIds(int index) {
@@ -8327,6 +8378,7 @@ public int getQuasiIdsCount() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
.QuasiIdFieldOrBuilder
getQuasiIdsOrBuilder(int index) {
@@ -8349,6 +8401,7 @@ public int getQuasiIdsCount() {
*
* @return Whether the relativeFrequency field is set.
*/
+ @java.lang.Override
public boolean hasRelativeFrequency() {
return relativeFrequency_ != null;
}
@@ -8366,6 +8419,7 @@ public boolean hasRelativeFrequency() {
*
* @return The relativeFrequency.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
return relativeFrequency_ == null
? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
@@ -8383,6 +8437,7 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
* .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() {
return getRelativeFrequency();
}
@@ -9771,6 +9826,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List
getQuasiIdsList() {
return quasiIds_;
@@ -9787,6 +9843,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List<
? extends
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>
@@ -9805,6 +9862,7 @@ public com.google.protobuf.Parser getParserForType() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -9820,6 +9878,7 @@ public int getQuasiIdsCount() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(
int index) {
return quasiIds_.get(index);
@@ -9836,6 +9895,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
getQuasiIdsOrBuilder(int index) {
return quasiIds_.get(index);
@@ -9856,6 +9916,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
*
* @return The regionCode.
*/
+ @java.lang.Override
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
if (ref instanceof java.lang.String) {
@@ -9880,6 +9941,7 @@ public java.lang.String getRegionCode() {
*
* @return The bytes for regionCode.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
if (ref instanceof java.lang.String) {
@@ -9909,6 +9971,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
*
*/
+ @java.lang.Override
public java.util.List<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>
getAuxiliaryTablesList() {
@@ -9927,6 +9990,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
*
*/
+ @java.lang.Override
public java.util.List<
? extends
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
@@ -9947,6 +10011,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
*
*/
+ @java.lang.Override
public int getAuxiliaryTablesCount() {
return auxiliaryTables_.size();
}
@@ -9963,6 +10028,7 @@ public int getAuxiliaryTablesCount() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
getAuxiliaryTables(int index) {
return auxiliaryTables_.get(index);
@@ -9980,6 +10046,7 @@ public int getAuxiliaryTablesCount() {
* repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder
getAuxiliaryTablesOrBuilder(int index) {
return auxiliaryTables_.get(index);
@@ -11803,6 +11870,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List getQuasiIdsList() {
return quasiIds_;
}
@@ -11818,6 +11886,7 @@ public java.util.List getQuasiIdsList() {
* repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.QuasiIdOrBuilder>
getQuasiIdsOrBuilderList() {
return quasiIds_;
@@ -11834,6 +11903,7 @@ public java.util.List getQuasiIdsList() {
* repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -11849,6 +11919,7 @@ public int getQuasiIdsCount() {
* repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) {
return quasiIds_.get(index);
}
@@ -11864,6 +11935,7 @@ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) {
* repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index) {
return quasiIds_.get(index);
}
@@ -11883,6 +11955,7 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index
*
* @return The regionCode.
*/
+ @java.lang.Override
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
if (ref instanceof java.lang.String) {
@@ -11907,6 +11980,7 @@ public java.lang.String getRegionCode() {
*
* @return The bytes for regionCode.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
if (ref instanceof java.lang.String) {
@@ -11932,6 +12006,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
*
* repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
*/
+ @java.lang.Override
public java.util.List getAuxiliaryTablesList() {
return auxiliaryTables_;
}
@@ -11946,6 +12021,7 @@ public java.util.List getAuxiliaryTa
*
* repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.StatisticalTableOrBuilder>
getAuxiliaryTablesOrBuilderList() {
return auxiliaryTables_;
@@ -11961,6 +12037,7 @@ public java.util.List getAuxiliaryTa
*
* repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
*/
+ @java.lang.Override
public int getAuxiliaryTablesCount() {
return auxiliaryTables_.size();
}
@@ -11975,6 +12052,7 @@ public int getAuxiliaryTablesCount() {
*
* repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index) {
return auxiliaryTables_.get(index);
}
@@ -11989,6 +12067,7 @@ public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index)
*
* repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
int index) {
return auxiliaryTables_.get(index);
@@ -13485,6 +13564,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the numericalStatsConfig field is set.
*/
+ @java.lang.Override
public boolean hasNumericalStatsConfig() {
return typeCase_ == 1;
}
@@ -13500,6 +13580,7 @@ public boolean hasNumericalStatsConfig() {
*
* @return The numericalStatsConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_;
@@ -13516,6 +13597,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumerical
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder
getNumericalStatsConfigOrBuilder() {
if (typeCase_ == 1) {
@@ -13537,6 +13619,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumerical
*
* @return Whether the categoricalStatsConfig field is set.
*/
+ @java.lang.Override
public boolean hasCategoricalStatsConfig() {
return typeCase_ == 2;
}
@@ -13552,6 +13635,7 @@ public boolean hasCategoricalStatsConfig() {
*
* @return The categoricalStatsConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
getCategoricalStatsConfig() {
if (typeCase_ == 2) {
@@ -13569,6 +13653,7 @@ public boolean hasCategoricalStatsConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder
getCategoricalStatsConfigOrBuilder() {
if (typeCase_ == 2) {
@@ -13589,6 +13674,7 @@ public boolean hasCategoricalStatsConfig() {
*
* @return Whether the kAnonymityConfig field is set.
*/
+ @java.lang.Override
public boolean hasKAnonymityConfig() {
return typeCase_ == 3;
}
@@ -13603,6 +13689,7 @@ public boolean hasKAnonymityConfig() {
*
* @return The kAnonymityConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_;
@@ -13618,6 +13705,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon
*
* .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder
getKAnonymityConfigOrBuilder() {
if (typeCase_ == 3) {
@@ -13638,6 +13726,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon
*
* @return Whether the lDiversityConfig field is set.
*/
+ @java.lang.Override
public boolean hasLDiversityConfig() {
return typeCase_ == 4;
}
@@ -13652,6 +13741,7 @@ public boolean hasLDiversityConfig() {
*
* @return The lDiversityConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_;
@@ -13667,6 +13757,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon
*
* .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder
getLDiversityConfigOrBuilder() {
if (typeCase_ == 4) {
@@ -13688,6 +13779,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon
*
* @return Whether the kMapEstimationConfig field is set.
*/
+ @java.lang.Override
public boolean hasKMapEstimationConfig() {
return typeCase_ == 5;
}
@@ -13703,6 +13795,7 @@ public boolean hasKMapEstimationConfig() {
*
* @return The kMapEstimationConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() {
if (typeCase_ == 5) {
return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_;
@@ -13719,6 +13812,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstim
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder
getKMapEstimationConfigOrBuilder() {
if (typeCase_ == 5) {
@@ -13741,6 +13835,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstim
*
* @return Whether the deltaPresenceEstimationConfig field is set.
*/
+ @java.lang.Override
public boolean hasDeltaPresenceEstimationConfig() {
return typeCase_ == 6;
}
@@ -13757,6 +13852,7 @@ public boolean hasDeltaPresenceEstimationConfig() {
*
* @return The deltaPresenceEstimationConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
getDeltaPresenceEstimationConfig() {
if (typeCase_ == 6) {
@@ -13776,6 +13872,7 @@ public boolean hasDeltaPresenceEstimationConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
getDeltaPresenceEstimationConfigOrBuilder() {
if (typeCase_ == 6) {
@@ -14298,6 +14395,7 @@ public Builder clearType() {
*
* @return Whether the numericalStatsConfig field is set.
*/
+ @java.lang.Override
public boolean hasNumericalStatsConfig() {
return typeCase_ == 1;
}
@@ -14313,6 +14411,7 @@ public boolean hasNumericalStatsConfig() {
*
* @return The numericalStatsConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() {
if (numericalStatsConfigBuilder_ == null) {
if (typeCase_ == 1) {
@@ -14456,6 +14555,7 @@ public Builder clearNumericalStatsConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder
getNumericalStatsConfigOrBuilder() {
if ((typeCase_ == 1) && (numericalStatsConfigBuilder_ != null)) {
@@ -14520,6 +14620,7 @@ public Builder clearNumericalStatsConfig() {
*
* @return Whether the categoricalStatsConfig field is set.
*/
+ @java.lang.Override
public boolean hasCategoricalStatsConfig() {
return typeCase_ == 2;
}
@@ -14536,6 +14637,7 @@ public boolean hasCategoricalStatsConfig() {
*
* @return The categoricalStatsConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
getCategoricalStatsConfig() {
if (categoricalStatsConfigBuilder_ == null) {
@@ -14686,6 +14788,7 @@ public Builder clearCategoricalStatsConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder
getCategoricalStatsConfigOrBuilder() {
if ((typeCase_ == 2) && (categoricalStatsConfigBuilder_ != null)) {
@@ -14750,6 +14853,7 @@ public Builder clearCategoricalStatsConfig() {
*
* @return Whether the kAnonymityConfig field is set.
*/
+ @java.lang.Override
public boolean hasKAnonymityConfig() {
return typeCase_ == 3;
}
@@ -14764,6 +14868,7 @@ public boolean hasKAnonymityConfig() {
*
* @return The kAnonymityConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() {
if (kAnonymityConfigBuilder_ == null) {
if (typeCase_ == 3) {
@@ -14900,6 +15005,7 @@ public Builder clearKAnonymityConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder
getKAnonymityConfigOrBuilder() {
if ((typeCase_ == 3) && (kAnonymityConfigBuilder_ != null)) {
@@ -14961,6 +15067,7 @@ public Builder clearKAnonymityConfig() {
*
* @return Whether the lDiversityConfig field is set.
*/
+ @java.lang.Override
public boolean hasLDiversityConfig() {
return typeCase_ == 4;
}
@@ -14975,6 +15082,7 @@ public boolean hasLDiversityConfig() {
*
* @return The lDiversityConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() {
if (lDiversityConfigBuilder_ == null) {
if (typeCase_ == 4) {
@@ -15111,6 +15219,7 @@ public Builder clearLDiversityConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder
getLDiversityConfigOrBuilder() {
if ((typeCase_ == 4) && (lDiversityConfigBuilder_ != null)) {
@@ -15173,6 +15282,7 @@ public Builder clearLDiversityConfig() {
*
* @return Whether the kMapEstimationConfig field is set.
*/
+ @java.lang.Override
public boolean hasKMapEstimationConfig() {
return typeCase_ == 5;
}
@@ -15188,6 +15298,7 @@ public boolean hasKMapEstimationConfig() {
*
* @return The kMapEstimationConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() {
if (kMapEstimationConfigBuilder_ == null) {
if (typeCase_ == 5) {
@@ -15331,6 +15442,7 @@ public Builder clearKMapEstimationConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder
getKMapEstimationConfigOrBuilder() {
if ((typeCase_ == 5) && (kMapEstimationConfigBuilder_ != null)) {
@@ -15395,6 +15507,7 @@ public Builder clearKMapEstimationConfig() {
*
* @return Whether the deltaPresenceEstimationConfig field is set.
*/
+ @java.lang.Override
public boolean hasDeltaPresenceEstimationConfig() {
return typeCase_ == 6;
}
@@ -15411,6 +15524,7 @@ public boolean hasDeltaPresenceEstimationConfig() {
*
* @return The deltaPresenceEstimationConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
getDeltaPresenceEstimationConfig() {
if (deltaPresenceEstimationConfigBuilder_ == null) {
@@ -15564,6 +15678,7 @@ public Builder clearDeltaPresenceEstimationConfig() {
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder
getDeltaPresenceEstimationConfigOrBuilder() {
if ((typeCase_ == 6) && (deltaPresenceEstimationConfigBuilder_ != null)) {
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 bea3120b..b8486a3f 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
@@ -217,6 +217,7 @@ public TagCase getTagCase() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -232,6 +233,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -245,6 +247,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
* .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -265,6 +268,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return tagCase_ == 2;
}
@@ -283,6 +287,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (tagCase_ == 2) {
return (com.google.privacy.dlp.v2.InfoType) tag_;
@@ -302,6 +307,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if (tagCase_ == 2) {
return (com.google.privacy.dlp.v2.InfoType) tag_;
@@ -382,6 +388,7 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
* @return Whether the inferred field is set.
*/
+ @java.lang.Override
public boolean hasInferred() {
return tagCase_ == 4;
}
@@ -397,6 +404,7 @@ public boolean hasInferred() {
*
* @return The inferred.
*/
+ @java.lang.Override
public com.google.protobuf.Empty getInferred() {
if (tagCase_ == 4) {
return (com.google.protobuf.Empty) tag_;
@@ -413,6 +421,7 @@ public com.google.protobuf.Empty getInferred() {
*
* .google.protobuf.Empty inferred = 4;
*/
+ @java.lang.Override
public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
if (tagCase_ == 4) {
return (com.google.protobuf.Empty) tag_;
@@ -1062,6 +1071,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return tagCase_ == 2;
}
@@ -1080,6 +1090,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
if (tagCase_ == 2) {
@@ -1234,6 +1245,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if ((tagCase_ == 2) && (infoTypeBuilder_ != null)) {
return infoTypeBuilder_.getMessageOrBuilder();
@@ -1293,6 +1305,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The customTag.
*/
+ @java.lang.Override
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
if (tagCase_ == 3) {
@@ -1322,6 +1335,7 @@ public java.lang.String getCustomTag() {
*
* @return The bytes for customTag.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
if (tagCase_ == 3) {
@@ -1424,6 +1438,7 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
*
* @return Whether the inferred field is set.
*/
+ @java.lang.Override
public boolean hasInferred() {
return tagCase_ == 4;
}
@@ -1439,6 +1454,7 @@ public boolean hasInferred() {
*
* @return The inferred.
*/
+ @java.lang.Override
public com.google.protobuf.Empty getInferred() {
if (inferredBuilder_ == null) {
if (tagCase_ == 4) {
@@ -1574,6 +1590,7 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
*
* .google.protobuf.Empty inferred = 4;
*/
+ @java.lang.Override
public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
if ((tagCase_ == 4) && (inferredBuilder_ != null)) {
return inferredBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
index 8f224bb8..4843f416 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
@@ -173,6 +173,7 @@ public ParsedQuoteCase getParsedQuoteCase() {
*
* @return Whether the dateTime field is set.
*/
+ @java.lang.Override
public boolean hasDateTime() {
return parsedQuoteCase_ == 2;
}
@@ -187,6 +188,7 @@ public boolean hasDateTime() {
*
* @return The dateTime.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTime getDateTime() {
if (parsedQuoteCase_ == 2) {
return (com.google.privacy.dlp.v2.DateTime) parsedQuote_;
@@ -202,6 +204,7 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() {
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() {
if (parsedQuoteCase_ == 2) {
return (com.google.privacy.dlp.v2.DateTime) parsedQuote_;
@@ -581,6 +584,7 @@ public Builder clearParsedQuote() {
*
* @return Whether the dateTime field is set.
*/
+ @java.lang.Override
public boolean hasDateTime() {
return parsedQuoteCase_ == 2;
}
@@ -595,6 +599,7 @@ public boolean hasDateTime() {
*
* @return The dateTime.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTime getDateTime() {
if (dateTimeBuilder_ == null) {
if (parsedQuoteCase_ == 2) {
@@ -726,6 +731,7 @@ public com.google.privacy.dlp.v2.DateTime.Builder getDateTimeBuilder() {
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() {
if ((parsedQuoteCase_ == 2) && (dateTimeBuilder_ != null)) {
return dateTimeBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
index 0a8f59e3..a5b86da1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
@@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The start.
*/
+ @java.lang.Override
public long getStart() {
return start_;
}
@@ -141,6 +142,7 @@ public long getStart() {
*
* @return The end.
*/
+ @java.lang.Override
public long getEnd() {
return end_;
}
@@ -483,6 +485,7 @@ public Builder mergeFrom(
*
* @return The start.
*/
+ @java.lang.Override
public long getStart() {
return start_;
}
@@ -534,6 +537,7 @@ public Builder clearStart() {
*
* @return The end.
*/
+ @java.lang.Override
public long getEnd() {
return end_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
index a2cc28f2..00ec26ed 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
@@ -381,6 +381,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -396,6 +397,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -409,6 +411,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
* .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -428,6 +431,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return The enum numeric value on the wire for operator.
*/
+ @java.lang.Override
public int getOperatorValue() {
return operator_;
}
@@ -444,6 +448,7 @@ public int getOperatorValue() {
*
* @return The operator.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.RelationalOperator result =
@@ -464,6 +469,7 @@ public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
*
* @return Whether the value field is set.
*/
+ @java.lang.Override
public boolean hasValue() {
return value_ != null;
}
@@ -478,6 +484,7 @@ public boolean hasValue() {
*
* @return The value.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getValue() {
return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_;
}
@@ -490,6 +497,7 @@ public com.google.privacy.dlp.v2.Value getValue() {
*
* .google.privacy.dlp.v2.Value value = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
return getValue();
}
@@ -1096,6 +1104,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return The enum numeric value on the wire for operator.
*/
+ @java.lang.Override
public int getOperatorValue() {
return operator_;
}
@@ -1114,6 +1123,7 @@ public int getOperatorValue() {
* @return This builder for chaining.
*/
public Builder setOperatorValue(int value) {
+
operator_ = value;
onChanged();
return this;
@@ -1131,6 +1141,7 @@ public Builder setOperatorValue(int value) {
*
* @return The operator.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.RelationalOperator result =
@@ -1583,6 +1594,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;
*/
+ @java.lang.Override
public java.util.List getConditionsList() {
return conditions_;
}
@@ -1595,6 +1607,7 @@ public java.util.List getCo
*
* repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>
getConditionsOrBuilderList() {
return conditions_;
@@ -1608,6 +1621,7 @@ public java.util.List getCo
*
* repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;
*/
+ @java.lang.Override
public int getConditionsCount() {
return conditions_.size();
}
@@ -1620,6 +1634,7 @@ public int getConditionsCount() {
*
* repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int index) {
return conditions_.get(index);
}
@@ -1632,6 +1647,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind
*
* repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder(
int index) {
return conditions_.get(index);
@@ -2700,6 +2716,10 @@ public LogicalOperator findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -2795,6 +2815,7 @@ public TypeCase getTypeCase() {
*
* @return The enum numeric value on the wire for logicalOperator.
*/
+ @java.lang.Override
public int getLogicalOperatorValue() {
return logicalOperator_;
}
@@ -2812,6 +2833,7 @@ public int getLogicalOperatorValue() {
*
* @return The logicalOperator.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
getLogicalOperator() {
@SuppressWarnings("deprecation")
@@ -2835,6 +2857,7 @@ public int getLogicalOperatorValue() {
*
* @return Whether the conditions field is set.
*/
+ @java.lang.Override
public boolean hasConditions() {
return typeCase_ == 3;
}
@@ -2849,6 +2872,7 @@ public boolean hasConditions() {
*
* @return The conditions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_;
@@ -2864,6 +2888,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() {
*
* .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_;
@@ -3273,6 +3298,7 @@ public Builder clearType() {
*
* @return The enum numeric value on the wire for logicalOperator.
*/
+ @java.lang.Override
public int getLogicalOperatorValue() {
return logicalOperator_;
}
@@ -3292,6 +3318,7 @@ public int getLogicalOperatorValue() {
* @return This builder for chaining.
*/
public Builder setLogicalOperatorValue(int value) {
+
logicalOperator_ = value;
onChanged();
return this;
@@ -3310,6 +3337,7 @@ public Builder setLogicalOperatorValue(int value) {
*
* @return The logicalOperator.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
getLogicalOperator() {
@SuppressWarnings("deprecation")
@@ -3382,6 +3410,7 @@ public Builder clearLogicalOperator() {
*
* @return Whether the conditions field is set.
*/
+ @java.lang.Override
public boolean hasConditions() {
return typeCase_ == 3;
}
@@ -3396,6 +3425,7 @@ public boolean hasConditions() {
*
* @return The conditions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() {
if (conditionsBuilder_ == null) {
if (typeCase_ == 3) {
@@ -3529,6 +3559,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition
*
* .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder
getConditionsOrBuilder() {
if ((typeCase_ == 3) && (conditionsBuilder_ != null)) {
@@ -3639,6 +3670,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultInstanceF
*
* @return Whether the expressions field is set.
*/
+ @java.lang.Override
public boolean hasExpressions() {
return expressions_ != null;
}
@@ -3653,6 +3685,7 @@ public boolean hasExpressions() {
*
* @return The expressions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() {
return expressions_ == null
? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance()
@@ -3667,6 +3700,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder() {
return getExpressions();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
index 021721ee..476cf305 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
@@ -203,6 +203,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the datastoreKey field is set.
*/
+ @java.lang.Override
public boolean hasDatastoreKey() {
return typeCase_ == 2;
}
@@ -211,6 +212,7 @@ public boolean hasDatastoreKey() {
*
* @return The datastoreKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.DatastoreKey) type_;
@@ -218,6 +220,7 @@ public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() {
return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance();
}
/** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.DatastoreKey) type_;
@@ -231,6 +234,7 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(
*
* @return Whether the bigQueryKey field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryKey() {
return typeCase_ == 3;
}
@@ -239,6 +243,7 @@ public boolean hasBigQueryKey() {
*
* @return The bigQueryKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.BigQueryKey) type_;
@@ -246,6 +251,7 @@ public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() {
return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance();
}
/** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.BigQueryKey) type_;
@@ -747,6 +753,7 @@ public Builder clearType() {
*
* @return Whether the datastoreKey field is set.
*/
+ @java.lang.Override
public boolean hasDatastoreKey() {
return typeCase_ == 2;
}
@@ -755,6 +762,7 @@ public boolean hasDatastoreKey() {
*
* @return The datastoreKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() {
if (datastoreKeyBuilder_ == null) {
if (typeCase_ == 2) {
@@ -838,6 +846,7 @@ public com.google.privacy.dlp.v2.DatastoreKey.Builder getDatastoreKeyBuilder() {
return getDatastoreKeyFieldBuilder().getBuilder();
}
/** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() {
if ((typeCase_ == 2) && (datastoreKeyBuilder_ != null)) {
return datastoreKeyBuilder_.getMessageOrBuilder();
@@ -882,6 +891,7 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(
*
* @return Whether the bigQueryKey field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryKey() {
return typeCase_ == 3;
}
@@ -890,6 +900,7 @@ public boolean hasBigQueryKey() {
*
* @return The bigQueryKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() {
if (bigQueryKeyBuilder_ == null) {
if (typeCase_ == 3) {
@@ -972,6 +983,7 @@ public com.google.privacy.dlp.v2.BigQueryKey.Builder getBigQueryKeyBuilder() {
return getBigQueryKeyFieldBuilder().getBuilder();
}
/** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() {
if ((typeCase_ == 3) && (bigQueryKeyBuilder_ != null)) {
return bigQueryKeyBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
index 3a1c6f11..ed93ac37 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
@@ -162,6 +162,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the recordKey field is set.
*/
+ @java.lang.Override
public boolean hasRecordKey() {
return recordKey_ != null;
}
@@ -176,6 +177,7 @@ public boolean hasRecordKey() {
*
* @return The recordKey.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordKey getRecordKey() {
return recordKey_ == null
? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance()
@@ -190,6 +192,7 @@ public com.google.privacy.dlp.v2.RecordKey getRecordKey() {
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() {
return getRecordKey();
}
@@ -207,6 +210,7 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() {
*
* @return Whether the fieldId field is set.
*/
+ @java.lang.Override
public boolean hasFieldId() {
return fieldId_ != null;
}
@@ -221,6 +225,7 @@ public boolean hasFieldId() {
*
* @return The fieldId.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getFieldId() {
return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_;
}
@@ -233,6 +238,7 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() {
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() {
return getFieldId();
}
@@ -250,6 +256,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() {
*
* @return Whether the tableLocation field is set.
*/
+ @java.lang.Override
public boolean hasTableLocation() {
return tableLocation_ != null;
}
@@ -264,6 +271,7 @@ public boolean hasTableLocation() {
*
* @return The tableLocation.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableLocation getTableLocation() {
return tableLocation_ == null
? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance()
@@ -278,6 +286,7 @@ public com.google.privacy.dlp.v2.TableLocation getTableLocation() {
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilder() {
return getTableLocation();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
index 41a6ab91..404ac9d0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
@@ -133,6 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the condition field is set.
*/
+ @java.lang.Override
public boolean hasCondition() {
return condition_ != null;
}
@@ -148,6 +149,7 @@ public boolean hasCondition() {
*
* @return The condition.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
return condition_ == null
? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
@@ -163,6 +165,7 @@ public com.google.privacy.dlp.v2.RecordCondition getCondition() {
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder() {
return getCondition();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
index 1e70d760..7c75cca8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
@@ -148,6 +148,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
*/
+ @java.lang.Override
public java.util.List
getFieldTransformationsList() {
return fieldTransformations_;
@@ -161,6 +162,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
getFieldTransformationsOrBuilderList() {
return fieldTransformations_;
@@ -174,6 +176,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
*/
+ @java.lang.Override
public int getFieldTransformationsCount() {
return fieldTransformations_.size();
}
@@ -186,6 +189,7 @@ public int getFieldTransformationsCount() {
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index) {
return fieldTransformations_.get(index);
}
@@ -198,6 +202,7 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder(
int index) {
return fieldTransformations_.get(index);
@@ -215,6 +220,7 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
*
* repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
*/
+ @java.lang.Override
public java.util.List getRecordSuppressionsList() {
return recordSuppressions_;
}
@@ -228,6 +234,7 @@ public java.util.List getRecordSupp
*
* repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>
getRecordSuppressionsOrBuilderList() {
return recordSuppressions_;
@@ -242,6 +249,7 @@ public java.util.List getRecordSupp
*
* repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
*/
+ @java.lang.Override
public int getRecordSuppressionsCount() {
return recordSuppressions_.size();
}
@@ -255,6 +263,7 @@ public int getRecordSuppressionsCount() {
*
* repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int index) {
return recordSuppressions_.get(index);
}
@@ -268,6 +277,7 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int ind
*
* repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(
int index) {
return recordSuppressions_.get(index);
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 bf94b5d9..4026ddea 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
@@ -463,6 +463,7 @@ public TargetCase getTargetCase() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return targetCase_ == 1;
}
@@ -480,6 +481,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (targetCase_ == 1) {
return (com.google.privacy.dlp.v2.InfoType) target_;
@@ -498,6 +500,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if (targetCase_ == 1) {
return (com.google.privacy.dlp.v2.InfoType) target_;
@@ -518,6 +521,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return The redactAllText.
*/
+ @java.lang.Override
public boolean getRedactAllText() {
if (targetCase_ == 2) {
return (java.lang.Boolean) target_;
@@ -539,6 +543,7 @@ public boolean getRedactAllText() {
*
* @return Whether the redactionColor field is set.
*/
+ @java.lang.Override
public boolean hasRedactionColor() {
return redactionColor_ != null;
}
@@ -554,6 +559,7 @@ public boolean hasRedactionColor() {
*
* @return The redactionColor.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Color getRedactionColor() {
return redactionColor_ == null
? com.google.privacy.dlp.v2.Color.getDefaultInstance()
@@ -569,6 +575,7 @@ public com.google.privacy.dlp.v2.Color getRedactionColor() {
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
return getRedactionColor();
}
@@ -1017,6 +1024,7 @@ public Builder clearTarget() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return targetCase_ == 1;
}
@@ -1034,6 +1042,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
if (targetCase_ == 1) {
@@ -1183,6 +1192,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
if ((targetCase_ == 1) && (infoTypeBuilder_ != null)) {
return infoTypeBuilder_.getMessageOrBuilder();
@@ -1549,6 +1559,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -1572,6 +1583,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -1597,6 +1609,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1619,6 +1632,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -1644,6 +1658,7 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -1658,6 +1673,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -1672,6 +1688,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
@@ -1690,6 +1707,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
* repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
*
*/
+ @java.lang.Override
public java.util.List
getImageRedactionConfigsList() {
return imageRedactionConfigs_;
@@ -1705,6 +1723,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
* repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
*
*/
+ @java.lang.Override
public java.util.List<
? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>
getImageRedactionConfigsOrBuilderList() {
@@ -1721,6 +1740,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
* repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
*
*/
+ @java.lang.Override
public int getImageRedactionConfigsCount() {
return imageRedactionConfigs_.size();
}
@@ -1735,6 +1755,7 @@ public int getImageRedactionConfigsCount() {
* repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(
int index) {
return imageRedactionConfigs_.get(index);
@@ -1750,6 +1771,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImag
* repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder
getImageRedactionConfigsOrBuilder(int index) {
return imageRedactionConfigs_.get(index);
@@ -1769,6 +1791,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImag
*
* @return The includeFindings.
*/
+ @java.lang.Override
public boolean getIncludeFindings() {
return includeFindings_;
}
@@ -1786,6 +1809,7 @@ public boolean getIncludeFindings() {
*
* @return Whether the byteItem field is set.
*/
+ @java.lang.Override
public boolean hasByteItem() {
return byteItem_ != null;
}
@@ -1800,6 +1824,7 @@ public boolean hasByteItem() {
*
* @return The byteItem.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
return byteItem_ == null
? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance()
@@ -1814,6 +1839,7 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() {
return getByteItem();
}
@@ -3109,6 +3135,7 @@ public Builder removeImageRedactionConfigs(int index) {
*
* @return The includeFindings.
*/
+ @java.lang.Override
public boolean getIncludeFindings() {
return includeFindings_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
index e3e5da8e..9597a4b9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
@@ -146,6 +146,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The redactedImage.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getRedactedImage() {
return redactedImage_;
}
@@ -165,6 +166,7 @@ public com.google.protobuf.ByteString getRedactedImage() {
*
* @return The extractedText.
*/
+ @java.lang.Override
public java.lang.String getExtractedText() {
java.lang.Object ref = extractedText_;
if (ref instanceof java.lang.String) {
@@ -189,6 +191,7 @@ public java.lang.String getExtractedText() {
*
* @return The bytes for extractedText.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getExtractedTextBytes() {
java.lang.Object ref = extractedText_;
if (ref instanceof java.lang.String) {
@@ -214,6 +217,7 @@ public com.google.protobuf.ByteString getExtractedTextBytes() {
*
* @return Whether the inspectResult field is set.
*/
+ @java.lang.Override
public boolean hasInspectResult() {
return inspectResult_ != null;
}
@@ -228,6 +232,7 @@ public boolean hasInspectResult() {
*
* @return The inspectResult.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectResult getInspectResult() {
return inspectResult_ == null
? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance()
@@ -242,6 +247,7 @@ public com.google.privacy.dlp.v2.InspectResult getInspectResult() {
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilder() {
return getInspectResult();
}
@@ -617,6 +623,7 @@ public Builder mergeFrom(
*
* @return The redactedImage.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getRedactedImage() {
return redactedImage_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
index c0de82e2..5e606ba3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
@@ -198,6 +198,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
+ @java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -222,6 +223,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
@@ -255,6 +257,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return Whether the reidentifyConfig field is set.
*/
+ @java.lang.Override
public boolean hasReidentifyConfig() {
return reidentifyConfig_ != null;
}
@@ -277,6 +280,7 @@ public boolean hasReidentifyConfig() {
*
* @return The reidentifyConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() {
return reidentifyConfig_ == null
? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
@@ -299,6 +303,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() {
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOrBuilder() {
return getReidentifyConfig();
}
@@ -316,6 +321,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
*
* @return Whether the inspectConfig field is set.
*/
+ @java.lang.Override
public boolean hasInspectConfig() {
return inspectConfig_ != null;
}
@@ -330,6 +336,7 @@ public boolean hasInspectConfig() {
*
* @return The inspectConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
@@ -344,6 +351,7 @@ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder() {
return getInspectConfig();
}
@@ -361,6 +369,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -375,6 +384,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -387,6 +397,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -408,6 +419,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return The inspectTemplateName.
*/
+ @java.lang.Override
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -434,6 +446,7 @@ public java.lang.String getInspectTemplateName() {
*
* @return The bytes for inspectTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
if (ref instanceof java.lang.String) {
@@ -464,6 +477,7 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
* @return The reidentifyTemplateName.
*/
+ @java.lang.Override
public java.lang.String getReidentifyTemplateName() {
java.lang.Object ref = reidentifyTemplateName_;
if (ref instanceof java.lang.String) {
@@ -491,6 +505,7 @@ public java.lang.String getReidentifyTemplateName() {
*
* @return The bytes for reidentifyTemplateName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
java.lang.Object ref = reidentifyTemplateName_;
if (ref instanceof java.lang.String) {
@@ -516,6 +531,7 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
*
* @return The locationId.
*/
+ @java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
@@ -538,6 +554,7 @@ public java.lang.String getLocationId() {
*
* @return The bytes for locationId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
index 7277ec50..653b0bc8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
@@ -147,6 +147,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the item field is set.
*/
+ @java.lang.Override
public boolean hasItem() {
return item_ != null;
}
@@ -161,6 +162,7 @@ public boolean hasItem() {
*
* @return The item.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
}
@@ -173,6 +175,7 @@ public com.google.privacy.dlp.v2.ContentItem getItem() {
*
* .google.privacy.dlp.v2.ContentItem item = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
return getItem();
}
@@ -190,6 +193,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
* @return Whether the overview field is set.
*/
+ @java.lang.Override
public boolean hasOverview() {
return overview_ != null;
}
@@ -204,6 +208,7 @@ public boolean hasOverview() {
*
* @return The overview.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
return overview_ == null
? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()
@@ -218,6 +223,7 @@ public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBuilder() {
return getOverview();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
index d4b79154..3057f215 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
@@ -250,6 +250,10 @@ public RelationalOperator findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
index 42c65d8c..432d446c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the newValue field is set.
*/
+ @java.lang.Override
public boolean hasNewValue() {
return newValue_ != null;
}
@@ -144,6 +145,7 @@ public boolean hasNewValue() {
*
* @return The newValue.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getNewValue() {
return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_;
}
@@ -156,6 +158,7 @@ public com.google.privacy.dlp.v2.Value getNewValue() {
*
* .google.privacy.dlp.v2.Value new_value = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() {
return getNewValue();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
index ab77ea42..f635352c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
@@ -164,6 +164,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the privacyMetric field is set.
*/
+ @java.lang.Override
public boolean hasPrivacyMetric() {
return privacyMetric_ != null;
}
@@ -178,6 +179,7 @@ public boolean hasPrivacyMetric() {
*
* @return The privacyMetric.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() {
return privacyMetric_ == null
? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()
@@ -192,6 +194,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() {
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilder() {
return getPrivacyMetric();
}
@@ -209,6 +212,7 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde
*
* @return Whether the sourceTable field is set.
*/
+ @java.lang.Override
public boolean hasSourceTable() {
return sourceTable_ != null;
}
@@ -223,6 +227,7 @@ public boolean hasSourceTable() {
*
* @return The sourceTable.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() {
return sourceTable_ == null
? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
@@ -237,6 +242,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() {
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder() {
return getSourceTable();
}
@@ -253,6 +259,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder(
*
* repeated .google.privacy.dlp.v2.Action actions = 3;
*/
+ @java.lang.Override
public java.util.List getActionsList() {
return actions_;
}
@@ -266,6 +273,7 @@ public java.util.List getActionsList() {
*
* repeated .google.privacy.dlp.v2.Action actions = 3;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ActionOrBuilder>
getActionsOrBuilderList() {
return actions_;
@@ -280,6 +288,7 @@ public java.util.List getActionsList() {
*
* repeated .google.privacy.dlp.v2.Action actions = 3;
*/
+ @java.lang.Override
public int getActionsCount() {
return actions_.size();
}
@@ -293,6 +302,7 @@ public int getActionsCount() {
*
* repeated .google.privacy.dlp.v2.Action actions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Action getActions(int index) {
return actions_.get(index);
}
@@ -306,6 +316,7 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
*
* repeated .google.privacy.dlp.v2.Action actions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
return actions_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
index 4017f310..4831f990 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
@@ -177,6 +177,7 @@ public OptionCase getOptionCase() {
*
* @return Whether the recurrencePeriodDuration field is set.
*/
+ @java.lang.Override
public boolean hasRecurrencePeriodDuration() {
return optionCase_ == 1;
}
@@ -196,6 +197,7 @@ public boolean hasRecurrencePeriodDuration() {
*
* @return The recurrencePeriodDuration.
*/
+ @java.lang.Override
public com.google.protobuf.Duration getRecurrencePeriodDuration() {
if (optionCase_ == 1) {
return (com.google.protobuf.Duration) option_;
@@ -216,6 +218,7 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() {
*
* .google.protobuf.Duration recurrence_period_duration = 1;
*/
+ @java.lang.Override
public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder() {
if (optionCase_ == 1) {
return (com.google.protobuf.Duration) option_;
@@ -601,6 +604,7 @@ public Builder clearOption() {
*
* @return Whether the recurrencePeriodDuration field is set.
*/
+ @java.lang.Override
public boolean hasRecurrencePeriodDuration() {
return optionCase_ == 1;
}
@@ -620,6 +624,7 @@ public boolean hasRecurrencePeriodDuration() {
*
* @return The recurrencePeriodDuration.
*/
+ @java.lang.Override
public com.google.protobuf.Duration getRecurrencePeriodDuration() {
if (recurrencePeriodDurationBuilder_ == null) {
if (optionCase_ == 1) {
@@ -780,6 +785,7 @@ public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
*
* .google.protobuf.Duration recurrence_period_duration = 1;
*/
+ @java.lang.Override
public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder() {
if ((optionCase_ == 1) && (recurrencePeriodDurationBuilder_ != null)) {
return recurrencePeriodDurationBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
index 241c5528..bf36cb56 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
@@ -351,6 +351,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -365,6 +366,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -377,6 +379,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -396,6 +399,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return The customTag.
*/
+ @java.lang.Override
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -420,6 +424,7 @@ public java.lang.String getCustomTag() {
*
* @return The bytes for customTag.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -1156,6 +1161,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* @return Whether the table field is set.
*/
+ @java.lang.Override
public boolean hasTable() {
return table_ != null;
}
@@ -1171,6 +1177,7 @@ public boolean hasTable() {
*
* @return The table.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_;
}
@@ -1184,6 +1191,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() {
* .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
return getTable();
}
@@ -1201,6 +1209,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List
getQuasiIdsList() {
return quasiIds_;
@@ -1216,6 +1225,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public java.util.List<
? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>
getQuasiIdsOrBuilderList() {
@@ -1232,6 +1242,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
* repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public int getQuasiIdsCount() {
return quasiIds_.size();
}
@@ -1246,6 +1257,7 @@ public int getQuasiIdsCount() {
* repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index) {
return quasiIds_.get(index);
}
@@ -1260,6 +1272,7 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI
* repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder
getQuasiIdsOrBuilder(int index) {
return quasiIds_.get(index);
@@ -1281,6 +1294,7 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI
*
* @return Whether the relativeFrequency field is set.
*/
+ @java.lang.Override
public boolean hasRelativeFrequency() {
return relativeFrequency_ != null;
}
@@ -1298,6 +1312,7 @@ public boolean hasRelativeFrequency() {
*
* @return The relativeFrequency.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
return relativeFrequency_ == null
? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
@@ -1315,6 +1330,7 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
* .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() {
return getRelativeFrequency();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
index 4397fe77..aa6425d7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
@@ -494,6 +494,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the startTime field is set.
*/
+ @java.lang.Override
public boolean hasStartTime() {
return startTime_ != null;
}
@@ -508,6 +509,7 @@ public boolean hasStartTime() {
*
* @return The startTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
@@ -520,6 +522,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*
* .google.protobuf.Timestamp start_time = 1;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
return getStartTime();
}
@@ -538,6 +541,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
* @return Whether the endTime field is set.
*/
+ @java.lang.Override
public boolean hasEndTime() {
return endTime_ != null;
}
@@ -553,6 +557,7 @@ public boolean hasEndTime() {
*
* @return The endTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
@@ -566,6 +571,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*
* .google.protobuf.Timestamp end_time = 2;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return getEndTime();
}
@@ -594,6 +600,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
* @return Whether the timestampField field is set.
*/
+ @java.lang.Override
public boolean hasTimestampField() {
return timestampField_ != null;
}
@@ -619,6 +626,7 @@ public boolean hasTimestampField() {
*
* @return The timestampField.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getTimestampField() {
return timestampField_ == null
? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
@@ -644,6 +652,7 @@ public com.google.privacy.dlp.v2.FieldId getTimestampField() {
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
return getTimestampField();
}
@@ -664,6 +673,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
*
* @return The enableAutoPopulationOfTimespanConfig.
*/
+ @java.lang.Override
public boolean getEnableAutoPopulationOfTimespanConfig() {
return enableAutoPopulationOfTimespanConfig_;
}
@@ -1752,6 +1762,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
*
* @return The enableAutoPopulationOfTimespanConfig.
*/
+ @java.lang.Override
public boolean getEnableAutoPopulationOfTimespanConfig() {
return enableAutoPopulationOfTimespanConfig_;
}
@@ -1914,6 +1925,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the datastoreOptions field is set.
*/
+ @java.lang.Override
public boolean hasDatastoreOptions() {
return typeCase_ == 2;
}
@@ -1928,6 +1940,7 @@ public boolean hasDatastoreOptions() {
*
* @return The datastoreOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.DatastoreOptions) type_;
@@ -1943,6 +1956,7 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() {
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.DatastoreOptions) type_;
@@ -1962,6 +1976,7 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr
*
* @return Whether the cloudStorageOptions field is set.
*/
+ @java.lang.Override
public boolean hasCloudStorageOptions() {
return typeCase_ == 3;
}
@@ -1976,6 +1991,7 @@ public boolean hasCloudStorageOptions() {
*
* @return The cloudStorageOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.CloudStorageOptions) type_;
@@ -1991,6 +2007,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() {
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.CloudStorageOptions) type_;
@@ -2010,6 +2027,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOpt
*
* @return Whether the bigQueryOptions field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryOptions() {
return typeCase_ == 4;
}
@@ -2024,6 +2042,7 @@ public boolean hasBigQueryOptions() {
*
* @return The bigQueryOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.BigQueryOptions) type_;
@@ -2039,6 +2058,7 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() {
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.BigQueryOptions) type_;
@@ -2061,6 +2081,7 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu
*
* @return Whether the hybridOptions field is set.
*/
+ @java.lang.Override
public boolean hasHybridOptions() {
return typeCase_ == 9;
}
@@ -2078,6 +2099,7 @@ public boolean hasHybridOptions() {
*
* @return The hybridOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() {
if (typeCase_ == 9) {
return (com.google.privacy.dlp.v2.HybridOptions) type_;
@@ -2096,6 +2118,7 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() {
*
* .google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilder() {
if (typeCase_ == 9) {
return (com.google.privacy.dlp.v2.HybridOptions) type_;
@@ -2110,6 +2133,7 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde
*
* @return Whether the timespanConfig field is set.
*/
+ @java.lang.Override
public boolean hasTimespanConfig() {
return timespanConfig_ != null;
}
@@ -2118,12 +2142,14 @@ public boolean hasTimespanConfig() {
*
* @return The timespanConfig.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() {
return timespanConfig_ == null
? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance()
: timespanConfig_;
}
/** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder
getTimespanConfigOrBuilder() {
return getTimespanConfig();
@@ -2612,6 +2638,7 @@ public Builder clearType() {
*
* @return Whether the datastoreOptions field is set.
*/
+ @java.lang.Override
public boolean hasDatastoreOptions() {
return typeCase_ == 2;
}
@@ -2626,6 +2653,7 @@ public boolean hasDatastoreOptions() {
*
* @return The datastoreOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() {
if (datastoreOptionsBuilder_ == null) {
if (typeCase_ == 2) {
@@ -2758,6 +2786,7 @@ public com.google.privacy.dlp.v2.DatastoreOptions.Builder getDatastoreOptionsBui
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder() {
if ((typeCase_ == 2) && (datastoreOptionsBuilder_ != null)) {
return datastoreOptionsBuilder_.getMessageOrBuilder();
@@ -2818,6 +2847,7 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr
*
* @return Whether the cloudStorageOptions field is set.
*/
+ @java.lang.Override
public boolean hasCloudStorageOptions() {
return typeCase_ == 3;
}
@@ -2832,6 +2862,7 @@ public boolean hasCloudStorageOptions() {
*
* @return The cloudStorageOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() {
if (cloudStorageOptionsBuilder_ == null) {
if (typeCase_ == 3) {
@@ -2964,6 +2995,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder
getCloudStorageOptionsOrBuilder() {
if ((typeCase_ == 3) && (cloudStorageOptionsBuilder_ != null)) {
@@ -3025,6 +3057,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti
*
* @return Whether the bigQueryOptions field is set.
*/
+ @java.lang.Override
public boolean hasBigQueryOptions() {
return typeCase_ == 4;
}
@@ -3039,6 +3072,7 @@ public boolean hasBigQueryOptions() {
*
* @return The bigQueryOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() {
if (bigQueryOptionsBuilder_ == null) {
if (typeCase_ == 4) {
@@ -3171,6 +3205,7 @@ public com.google.privacy.dlp.v2.BigQueryOptions.Builder getBigQueryOptionsBuild
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder() {
if ((typeCase_ == 4) && (bigQueryOptionsBuilder_ != null)) {
return bigQueryOptionsBuilder_.getMessageOrBuilder();
@@ -3234,6 +3269,7 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu
*
* @return Whether the hybridOptions field is set.
*/
+ @java.lang.Override
public boolean hasHybridOptions() {
return typeCase_ == 9;
}
@@ -3251,6 +3287,7 @@ public boolean hasHybridOptions() {
*
* @return The hybridOptions.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() {
if (hybridOptionsBuilder_ == null) {
if (typeCase_ == 9) {
@@ -3401,6 +3438,7 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder()
*
* .google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilder() {
if ((typeCase_ == 9) && (hybridOptionsBuilder_ != null)) {
return hybridOptionsBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java
index e24da738..6b9eeaea 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java
@@ -118,6 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The key.
*/
+ @java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
@@ -134,6 +135,7 @@ public java.lang.String getKey() {
*
* @return The bytes for key.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
index a343d3c5..b0248d58 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
@@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -180,6 +181,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -205,6 +207,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the currentVersion field is set.
*/
+ @java.lang.Override
public boolean hasCurrentVersion() {
return currentVersion_ != null;
}
@@ -219,6 +222,7 @@ public boolean hasCurrentVersion() {
*
* @return The currentVersion.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() {
return currentVersion_ == null
? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance()
@@ -233,6 +237,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() {
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder() {
return getCurrentVersion();
}
@@ -249,6 +254,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio
*
* repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
*/
+ @java.lang.Override
public java.util.List getPendingVersionsList() {
return pendingVersions_;
}
@@ -262,6 +268,7 @@ public java.util.List getPendin
*
* repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>
getPendingVersionsOrBuilderList() {
return pendingVersions_;
@@ -276,6 +283,7 @@ public java.util.List getPendin
*
* repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
*/
+ @java.lang.Override
public int getPendingVersionsCount() {
return pendingVersions_.size();
}
@@ -289,6 +297,7 @@ public int getPendingVersionsCount() {
*
* repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int index) {
return pendingVersions_.get(index);
}
@@ -302,6 +311,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
*
* repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(
int index) {
return pendingVersions_.get(index);
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
index 9ad94d81..5d50e2bf 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
@@ -236,6 +236,7 @@ public TypeCase getTypeCase() {
*
* @return The displayName.
*/
+ @java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -258,6 +259,7 @@ public java.lang.String getDisplayName() {
*
* @return The bytes for displayName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
@@ -283,6 +285,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
* @return The description.
*/
+ @java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -305,6 +308,7 @@ public java.lang.String getDescription() {
*
* @return The bytes for description.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
@@ -329,6 +333,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
* @return Whether the largeCustomDictionary field is set.
*/
+ @java.lang.Override
public boolean hasLargeCustomDictionary() {
return typeCase_ == 3;
}
@@ -343,6 +348,7 @@ public boolean hasLargeCustomDictionary() {
*
* @return The largeCustomDictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_;
@@ -358,6 +364,7 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder
getLargeCustomDictionaryOrBuilder() {
if (typeCase_ == 3) {
@@ -378,6 +385,7 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 4;
}
@@ -392,6 +400,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -407,6 +416,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_;
@@ -426,6 +436,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 5;
}
@@ -440,6 +451,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (typeCase_ == 5) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -455,6 +467,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if (typeCase_ == 5) {
return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_;
@@ -1137,6 +1150,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
* @return Whether the largeCustomDictionary field is set.
*/
+ @java.lang.Override
public boolean hasLargeCustomDictionary() {
return typeCase_ == 3;
}
@@ -1151,6 +1165,7 @@ public boolean hasLargeCustomDictionary() {
*
* @return The largeCustomDictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() {
if (largeCustomDictionaryBuilder_ == null) {
if (typeCase_ == 3) {
@@ -1287,6 +1302,7 @@ public Builder clearLargeCustomDictionary() {
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder
getLargeCustomDictionaryOrBuilder() {
if ((typeCase_ == 3) && (largeCustomDictionaryBuilder_ != null)) {
@@ -1348,6 +1364,7 @@ public Builder clearLargeCustomDictionary() {
*
* @return Whether the dictionary field is set.
*/
+ @java.lang.Override
public boolean hasDictionary() {
return typeCase_ == 4;
}
@@ -1362,6 +1379,7 @@ public boolean hasDictionary() {
*
* @return The dictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (dictionaryBuilder_ == null) {
if (typeCase_ == 4) {
@@ -1494,6 +1512,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() {
if ((typeCase_ == 4) && (dictionaryBuilder_ != null)) {
return dictionaryBuilder_.getMessageOrBuilder();
@@ -1554,6 +1573,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
* @return Whether the regex field is set.
*/
+ @java.lang.Override
public boolean hasRegex() {
return typeCase_ == 5;
}
@@ -1568,6 +1588,7 @@ public boolean hasRegex() {
*
* @return The regex.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (regexBuilder_ == null) {
if (typeCase_ == 5) {
@@ -1700,6 +1721,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder()
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() {
if ((typeCase_ == 5) && (regexBuilder_ != null)) {
return regexBuilder_.getMessageOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
index fa740579..0db5f67e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
@@ -191,6 +191,10 @@ public StoredInfoTypeState findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
index f2967988..348de681 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
@@ -176,6 +176,7 @@ public TypeCase getTypeCase() {
*
* @return Whether the largeCustomDictionary field is set.
*/
+ @java.lang.Override
public boolean hasLargeCustomDictionary() {
return typeCase_ == 1;
}
@@ -190,6 +191,7 @@ public boolean hasLargeCustomDictionary() {
*
* @return The largeCustomDictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() {
if (typeCase_ == 1) {
return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_;
@@ -205,6 +207,7 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictio
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder
getLargeCustomDictionaryOrBuilder() {
if (typeCase_ == 1) {
@@ -588,6 +591,7 @@ public Builder clearType() {
*
* @return Whether the largeCustomDictionary field is set.
*/
+ @java.lang.Override
public boolean hasLargeCustomDictionary() {
return typeCase_ == 1;
}
@@ -602,6 +606,7 @@ public boolean hasLargeCustomDictionary() {
*
* @return The largeCustomDictionary.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() {
if (largeCustomDictionaryBuilder_ == null) {
if (typeCase_ == 1) {
@@ -737,6 +742,7 @@ public Builder clearLargeCustomDictionary() {
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder
getLargeCustomDictionaryOrBuilder() {
if ((typeCase_ == 1) && (largeCustomDictionaryBuilder_ != null)) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
index 0edfee45..7ebdaaa4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
@@ -187,6 +187,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the config field is set.
*/
+ @java.lang.Override
public boolean hasConfig() {
return config_ != null;
}
@@ -201,6 +202,7 @@ public boolean hasConfig() {
*
* @return The config.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
return config_ == null
? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance()
@@ -215,6 +217,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() {
return getConfig();
}
@@ -233,6 +236,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -248,6 +252,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -261,6 +266,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
* .google.protobuf.Timestamp create_time = 2;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
@@ -279,6 +285,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return The enum numeric value on the wire for state.
*/
+ @java.lang.Override
public int getStateValue() {
return state_;
}
@@ -294,6 +301,7 @@ public int getStateValue() {
*
* @return The state.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.StoredInfoTypeState result =
@@ -322,6 +330,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
*
* repeated .google.privacy.dlp.v2.Error errors = 4;
*/
+ @java.lang.Override
public java.util.List getErrorsList() {
return errors_;
}
@@ -344,6 +353,7 @@ public java.util.List getErrorsList() {
*
* repeated .google.privacy.dlp.v2.Error errors = 4;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ErrorOrBuilder>
getErrorsOrBuilderList() {
return errors_;
@@ -367,6 +377,7 @@ public java.util.List getErrorsList() {
*
* repeated .google.privacy.dlp.v2.Error errors = 4;
*/
+ @java.lang.Override
public int getErrorsCount() {
return errors_.size();
}
@@ -389,6 +400,7 @@ public int getErrorsCount() {
*
* repeated .google.privacy.dlp.v2.Error errors = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Error getErrors(int index) {
return errors_.get(index);
}
@@ -411,6 +423,7 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
*
* repeated .google.privacy.dlp.v2.Error errors = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
return errors_.get(index);
}
@@ -428,6 +441,7 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
*
* @return Whether the stats field is set.
*/
+ @java.lang.Override
public boolean hasStats() {
return stats_ != null;
}
@@ -442,6 +456,7 @@ public boolean hasStats() {
*
* @return The stats.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() {
return stats_ == null
? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance()
@@ -456,6 +471,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() {
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder() {
return getStats();
}
@@ -1314,6 +1330,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
* @return The enum numeric value on the wire for state.
*/
+ @java.lang.Override
public int getStateValue() {
return state_;
}
@@ -1331,6 +1348,7 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
+
state_ = value;
onChanged();
return this;
@@ -1347,6 +1365,7 @@ public Builder setStateValue(int value) {
*
* @return The state.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.StoredInfoTypeState result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
index fc2ccf37..69149aa5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
@@ -141,6 +141,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -165,6 +166,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -191,6 +193,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the createTime field is set.
*/
+ @java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
@@ -206,6 +209,7 @@ public boolean hasCreateTime() {
*
* @return The createTime.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
@@ -219,6 +223,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
* .google.protobuf.Timestamp create_time = 2;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
index 97e069a4..8b0fe4b6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
@@ -301,6 +301,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.Value values = 1;
*/
+ @java.lang.Override
public java.util.List getValuesList() {
return values_;
}
@@ -313,6 +314,7 @@ public java.util.List getValuesList() {
*
* repeated .google.privacy.dlp.v2.Value values = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.ValueOrBuilder>
getValuesOrBuilderList() {
return values_;
@@ -326,6 +328,7 @@ public java.util.List getValuesList() {
*
* repeated .google.privacy.dlp.v2.Value values = 1;
*/
+ @java.lang.Override
public int getValuesCount() {
return values_.size();
}
@@ -338,6 +341,7 @@ public int getValuesCount() {
*
* repeated .google.privacy.dlp.v2.Value values = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getValues(int index) {
return values_.get(index);
}
@@ -350,6 +354,7 @@ public com.google.privacy.dlp.v2.Value getValues(int index) {
*
* repeated .google.privacy.dlp.v2.Value values = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) {
return values_.get(index);
}
@@ -1122,6 +1127,7 @@ public com.google.privacy.dlp.v2.Table.Row getDefaultInstanceForType() {
*
* repeated .google.privacy.dlp.v2.FieldId headers = 1;
*/
+ @java.lang.Override
public java.util.List getHeadersList() {
return headers_;
}
@@ -1134,6 +1140,7 @@ public java.util.List getHeadersList() {
*
* repeated .google.privacy.dlp.v2.FieldId headers = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getHeadersOrBuilderList() {
return headers_;
@@ -1147,6 +1154,7 @@ public java.util.List getHeadersList() {
*
* repeated .google.privacy.dlp.v2.FieldId headers = 1;
*/
+ @java.lang.Override
public int getHeadersCount() {
return headers_.size();
}
@@ -1159,6 +1167,7 @@ public int getHeadersCount() {
*
* repeated .google.privacy.dlp.v2.FieldId headers = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getHeaders(int index) {
return headers_.get(index);
}
@@ -1171,6 +1180,7 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) {
*
* repeated .google.privacy.dlp.v2.FieldId headers = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) {
return headers_.get(index);
}
@@ -1186,6 +1196,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index)
*
* repeated .google.privacy.dlp.v2.Table.Row rows = 2;
*/
+ @java.lang.Override
public java.util.List getRowsList() {
return rows_;
}
@@ -1198,6 +1209,7 @@ public java.util.List getRowsList() {
*
* repeated .google.privacy.dlp.v2.Table.Row rows = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.Table.RowOrBuilder>
getRowsOrBuilderList() {
return rows_;
@@ -1211,6 +1223,7 @@ public java.util.List getRowsList() {
*
* repeated .google.privacy.dlp.v2.Table.Row rows = 2;
*/
+ @java.lang.Override
public int getRowsCount() {
return rows_.size();
}
@@ -1223,6 +1236,7 @@ public int getRowsCount() {
*
* repeated .google.privacy.dlp.v2.Table.Row rows = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Table.Row getRows(int index) {
return rows_.get(index);
}
@@ -1235,6 +1249,7 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) {
*
* repeated .google.privacy.dlp.v2.Table.Row rows = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) {
return rows_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
index d3c1c708..5e1aacbc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
@@ -125,6 +125,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The rowIndex.
*/
+ @java.lang.Override
public long getRowIndex() {
return rowIndex_;
}
@@ -460,6 +461,7 @@ public Builder mergeFrom(
*
* @return The rowIndex.
*/
+ @java.lang.Override
public long getRowIndex() {
return rowIndex_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java
index dcaf2538..3a656e15 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java
@@ -132,6 +132,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
*/
+ @java.lang.Override
public java.util.List getIdentifyingFieldsList() {
return identifyingFields_;
}
@@ -147,6 +148,7 @@ public java.util.List getIdentifyingFieldsLis
*
* repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getIdentifyingFieldsOrBuilderList() {
return identifyingFields_;
@@ -163,6 +165,7 @@ public java.util.List getIdentifyingFieldsLis
*
* repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
*/
+ @java.lang.Override
public int getIdentifyingFieldsCount() {
return identifyingFields_.size();
}
@@ -178,6 +181,7 @@ public int getIdentifyingFieldsCount() {
*
* repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
return identifyingFields_.get(index);
}
@@ -193,6 +197,7 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
*
* repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
return identifyingFields_.get(index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
index f70e2418..9f6106a7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
@@ -321,6 +321,10 @@ public TimePart findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -366,6 +370,7 @@ private TimePart(int value) {
*
* @return The enum numeric value on the wire for partToExtract.
*/
+ @java.lang.Override
public int getPartToExtractValue() {
return partToExtract_;
}
@@ -380,6 +385,7 @@ public int getPartToExtractValue() {
*
* @return The partToExtract.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TimePartConfig.TimePart result =
@@ -716,6 +722,7 @@ public Builder mergeFrom(
*
* @return The enum numeric value on the wire for partToExtract.
*/
+ @java.lang.Override
public int getPartToExtractValue() {
return partToExtract_;
}
@@ -732,6 +739,7 @@ public int getPartToExtractValue() {
* @return This builder for chaining.
*/
public Builder setPartToExtractValue(int value) {
+
partToExtract_ = value;
onChanged();
return this;
@@ -747,6 +755,7 @@ public Builder setPartToExtractValue(int value) {
*
* @return The partToExtract.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TimePartConfig.TimePart result =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java
index 3a4b3a75..47e3672d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java
@@ -1148,6 +1148,7 @@ public ModeCase getModeCase() {
*
* @return Whether the throwError field is set.
*/
+ @java.lang.Override
public boolean hasThrowError() {
return modeCase_ == 1;
}
@@ -1162,6 +1163,7 @@ public boolean hasThrowError() {
*
* @return The throwError.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError() {
if (modeCase_ == 1) {
return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_;
@@ -1177,6 +1179,7 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow
*
* .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder
getThrowErrorOrBuilder() {
if (modeCase_ == 1) {
@@ -1199,6 +1202,7 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow
*
* @return Whether the leaveUntransformed field is set.
*/
+ @java.lang.Override
public boolean hasLeaveUntransformed() {
return modeCase_ == 2;
}
@@ -1215,6 +1219,7 @@ public boolean hasLeaveUntransformed() {
*
* @return The leaveUntransformed.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
getLeaveUntransformed() {
if (modeCase_ == 2) {
@@ -1234,6 +1239,7 @@ public boolean hasLeaveUntransformed() {
* .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder
getLeaveUntransformedOrBuilder() {
if (modeCase_ == 2) {
@@ -1657,6 +1663,7 @@ public Builder clearMode() {
*
* @return Whether the throwError field is set.
*/
+ @java.lang.Override
public boolean hasThrowError() {
return modeCase_ == 1;
}
@@ -1671,6 +1678,7 @@ public boolean hasThrowError() {
*
* @return The throwError.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError() {
if (throwErrorBuilder_ == null) {
if (modeCase_ == 1) {
@@ -1810,6 +1818,7 @@ public Builder clearThrowError() {
*
* .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder
getThrowErrorOrBuilder() {
if ((modeCase_ == 1) && (throwErrorBuilder_ != null)) {
@@ -1875,6 +1884,7 @@ public Builder clearThrowError() {
*
* @return Whether the leaveUntransformed field is set.
*/
+ @java.lang.Override
public boolean hasLeaveUntransformed() {
return modeCase_ == 2;
}
@@ -1891,6 +1901,7 @@ public boolean hasLeaveUntransformed() {
*
* @return The leaveUntransformed.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
getLeaveUntransformed() {
if (leaveUntransformedBuilder_ == null) {
@@ -2045,6 +2056,7 @@ public Builder clearLeaveUntransformed() {
* .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder
getLeaveUntransformedOrBuilder() {
if ((modeCase_ == 2) && (leaveUntransformedBuilder_ != null)) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
index 86297d06..3657ca6f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
@@ -138,6 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The transformedBytes.
*/
+ @java.lang.Override
public long getTransformedBytes() {
return transformedBytes_;
}
@@ -154,6 +155,7 @@ public long getTransformedBytes() {
* repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;
*
*/
+ @java.lang.Override
public java.util.List
getTransformationSummariesList() {
return transformationSummaries_;
@@ -168,6 +170,7 @@ public long getTransformedBytes() {
* repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;
*
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>
getTransformationSummariesOrBuilderList() {
return transformationSummaries_;
@@ -182,6 +185,7 @@ public long getTransformedBytes() {
* repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;
*
*/
+ @java.lang.Override
public int getTransformationSummariesCount() {
return transformationSummaries_.size();
}
@@ -195,6 +199,7 @@ public int getTransformationSummariesCount() {
* repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index) {
return transformationSummaries_.get(index);
}
@@ -208,6 +213,7 @@ public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummarie
* repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3;
*
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder
getTransformationSummariesOrBuilder(int index) {
return transformationSummaries_.get(index);
@@ -603,6 +609,7 @@ public Builder mergeFrom(
*
* @return The transformedBytes.
*/
+ @java.lang.Override
public long getTransformedBytes() {
return transformedBytes_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
index f8e3a04d..c66527c8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
@@ -331,6 +331,10 @@ public TransformationResultCode findValueByNumber(int number) {
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException(
+ "Can't get the descriptor of an unrecognized enum value.");
+ }
return getDescriptor().getValues().get(ordinal());
}
@@ -554,6 +558,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
@@ -571,6 +576,7 @@ public long getCount() {
*
* @return The enum numeric value on the wire for code.
*/
+ @java.lang.Override
public int getCodeValue() {
return code_;
}
@@ -585,6 +591,7 @@ public int getCodeValue() {
*
* @return The code.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result =
@@ -608,6 +615,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
*
* @return The details.
*/
+ @java.lang.Override
public java.lang.String getDetails() {
java.lang.Object ref = details_;
if (ref instanceof java.lang.String) {
@@ -631,6 +639,7 @@ public java.lang.String getDetails() {
*
* @return The bytes for details.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getDetailsBytes() {
java.lang.Object ref = details_;
if (ref instanceof java.lang.String) {
@@ -1019,6 +1028,7 @@ public Builder mergeFrom(
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
@@ -1071,6 +1081,7 @@ public Builder clearCount() {
*
* @return The enum numeric value on the wire for code.
*/
+ @java.lang.Override
public int getCodeValue() {
return code_;
}
@@ -1088,6 +1099,7 @@ public int getCodeValue() {
* @return This builder for chaining.
*/
public Builder setCodeValue(int value) {
+
code_ = value;
onChanged();
return this;
@@ -1104,6 +1116,7 @@ public Builder setCodeValue(int value) {
*
* @return The code.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result =
@@ -1333,6 +1346,7 @@ public com.google.protobuf.Parser getParserForType() {
*
* @return Whether the infoType field is set.
*/
+ @java.lang.Override
public boolean hasInfoType() {
return infoType_ != null;
}
@@ -1347,6 +1361,7 @@ public boolean hasInfoType() {
*
* @return The infoType.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
}
@@ -1359,6 +1374,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
return getInfoType();
}
@@ -1376,6 +1392,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
* @return Whether the field field is set.
*/
+ @java.lang.Override
public boolean hasField() {
return field_ != null;
}
@@ -1390,6 +1407,7 @@ public boolean hasField() {
*
* @return The field.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -1402,6 +1420,7 @@ public com.google.privacy.dlp.v2.FieldId getField() {
*
* .google.privacy.dlp.v2.FieldId field = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
return getField();
}
@@ -1419,6 +1438,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
* @return Whether the transformation field is set.
*/
+ @java.lang.Override
public boolean hasTransformation() {
return transformation_ != null;
}
@@ -1433,6 +1453,7 @@ public boolean hasTransformation() {
*
* @return The transformation.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() {
return transformation_ == null
? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()
@@ -1447,6 +1468,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() {
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformationOrBuilder() {
return getTransformation();
}
@@ -1464,6 +1486,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
*/
+ @java.lang.Override
public java.util.List
getFieldTransformationsList() {
return fieldTransformations_;
@@ -1479,6 +1502,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
*/
+ @java.lang.Override
public java.util.List extends com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
getFieldTransformationsOrBuilderList() {
return fieldTransformations_;
@@ -1494,6 +1518,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
*/
+ @java.lang.Override
public int getFieldTransformationsCount() {
return fieldTransformations_.size();
}
@@ -1508,6 +1533,7 @@ public int getFieldTransformationsCount() {
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index) {
return fieldTransformations_.get(index);
}
@@ -1522,6 +1548,7 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
*
* repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder(
int index) {
return fieldTransformations_.get(index);
@@ -1540,6 +1567,7 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
*
* @return Whether the recordSuppress field is set.
*/
+ @java.lang.Override
public boolean hasRecordSuppress() {
return recordSuppress_ != null;
}
@@ -1554,6 +1582,7 @@ public boolean hasRecordSuppress() {
*
* @return The recordSuppress.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() {
return recordSuppress_ == null
? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance()
@@ -1568,6 +1597,7 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() {
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrBuilder() {
return getRecordSuppress();
}
@@ -1583,6 +1613,7 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB
*
* repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
*/
+ @java.lang.Override
public java.util.List
getResultsList() {
return results_;
@@ -1596,6 +1627,7 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB
*
* repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
*/
+ @java.lang.Override
public java.util.List<
? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>
getResultsOrBuilderList() {
@@ -1610,6 +1642,7 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB
*
* repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
*/
+ @java.lang.Override
public int getResultsCount() {
return results_.size();
}
@@ -1622,6 +1655,7 @@ public int getResultsCount() {
*
* repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults(int index) {
return results_.get(index);
}
@@ -1634,6 +1668,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults(
*
* repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder(
int index) {
return results_.get(index);
@@ -1652,6 +1687,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder ge
*
* @return The transformedBytes.
*/
+ @java.lang.Override
public long getTransformedBytes() {
return transformedBytes_;
}
@@ -3710,6 +3746,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder add
*
* @return The transformedBytes.
*/
+ @java.lang.Override
public long getTransformedBytes() {
return transformedBytes_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
index efb4f21f..04148619 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
@@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -157,6 +158,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
index 862a0871..15d7cd9a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
@@ -123,6 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The key.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getKey() {
return key_;
}
@@ -455,6 +456,7 @@ public Builder mergeFrom(
*
* @return The key.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getKey() {
return key_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
index 436877d5..4f4084c0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
@@ -161,6 +161,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -188,6 +189,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -213,6 +215,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the deidentifyTemplate field is set.
*/
+ @java.lang.Override
public boolean hasDeidentifyTemplate() {
return deidentifyTemplate_ != null;
}
@@ -227,6 +230,7 @@ public boolean hasDeidentifyTemplate() {
*
* @return The deidentifyTemplate.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
return deidentifyTemplate_ == null
? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance()
@@ -241,6 +245,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder() {
return getDeidentifyTemplate();
}
@@ -258,6 +263,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
* @return Whether the updateMask field is set.
*/
+ @java.lang.Override
public boolean hasUpdateMask() {
return updateMask_ != null;
}
@@ -272,6 +278,7 @@ public boolean hasUpdateMask() {
*
* @return The updateMask.
*/
+ @java.lang.Override
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
}
@@ -284,6 +291,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 3;
*/
+ @java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
return getUpdateMask();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
index 795739b6..ac6bd33b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
@@ -159,6 +159,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -185,6 +186,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -210,6 +212,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the inspectTemplate field is set.
*/
+ @java.lang.Override
public boolean hasInspectTemplate() {
return inspectTemplate_ != null;
}
@@ -224,6 +227,7 @@ public boolean hasInspectTemplate() {
*
* @return The inspectTemplate.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
return inspectTemplate_ == null
? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()
@@ -238,6 +242,7 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder() {
return getInspectTemplate();
}
@@ -255,6 +260,7 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
*
* @return Whether the updateMask field is set.
*/
+ @java.lang.Override
public boolean hasUpdateMask() {
return updateMask_ != null;
}
@@ -269,6 +275,7 @@ public boolean hasUpdateMask() {
*
* @return The updateMask.
*/
+ @java.lang.Override
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
}
@@ -281,6 +288,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 3;
*/
+ @java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
return getUpdateMask();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
index 3da729f6..76993b32 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
@@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -183,6 +184,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -208,6 +210,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the jobTrigger field is set.
*/
+ @java.lang.Override
public boolean hasJobTrigger() {
return jobTrigger_ != null;
}
@@ -222,6 +225,7 @@ public boolean hasJobTrigger() {
*
* @return The jobTrigger.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
return jobTrigger_ == null
? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()
@@ -236,6 +240,7 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
return getJobTrigger();
}
@@ -253,6 +258,7 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
*
* @return Whether the updateMask field is set.
*/
+ @java.lang.Override
public boolean hasUpdateMask() {
return updateMask_ != null;
}
@@ -267,6 +273,7 @@ public boolean hasUpdateMask() {
*
* @return The updateMask.
*/
+ @java.lang.Override
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
}
@@ -279,6 +286,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 3;
*/
+ @java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
return getUpdateMask();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
index 7b7ae6e2..6eab1b5a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
@@ -159,6 +159,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
+ @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -185,6 +186,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return Whether the config field is set.
*/
+ @java.lang.Override
public boolean hasConfig() {
return config_ != null;
}
@@ -228,6 +231,7 @@ public boolean hasConfig() {
*
* @return The config.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
return config_ == null
? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance()
@@ -244,6 +248,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() {
return getConfig();
}
@@ -261,6 +266,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
* @return Whether the updateMask field is set.
*/
+ @java.lang.Override
public boolean hasUpdateMask() {
return updateMask_ != null;
}
@@ -275,6 +281,7 @@ public boolean hasUpdateMask() {
*
* @return The updateMask.
*/
+ @java.lang.Override
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
}
@@ -287,6 +294,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 3;
*/
+ @java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
return getUpdateMask();
}
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 62b27c0b..83338e72 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
@@ -257,6 +257,7 @@ public TypeCase getTypeCase() {
*
* @return The integerValue.
*/
+ @java.lang.Override
public long getIntegerValue() {
if (typeCase_ == 1) {
return (java.lang.Long) type_;
@@ -276,6 +277,7 @@ public long getIntegerValue() {
*
* @return The floatValue.
*/
+ @java.lang.Override
public double getFloatValue() {
if (typeCase_ == 2) {
return (java.lang.Double) type_;
@@ -351,6 +353,7 @@ public com.google.protobuf.ByteString getStringValueBytes() {
*
* @return The booleanValue.
*/
+ @java.lang.Override
public boolean getBooleanValue() {
if (typeCase_ == 4) {
return (java.lang.Boolean) type_;
@@ -370,6 +373,7 @@ public boolean getBooleanValue() {
*
* @return Whether the timestampValue field is set.
*/
+ @java.lang.Override
public boolean hasTimestampValue() {
return typeCase_ == 5;
}
@@ -384,6 +388,7 @@ public boolean hasTimestampValue() {
*
* @return The timestampValue.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getTimestampValue() {
if (typeCase_ == 5) {
return (com.google.protobuf.Timestamp) type_;
@@ -399,6 +404,7 @@ public com.google.protobuf.Timestamp getTimestampValue() {
*
* .google.protobuf.Timestamp timestamp_value = 5;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
if (typeCase_ == 5) {
return (com.google.protobuf.Timestamp) type_;
@@ -418,6 +424,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
*
* @return Whether the timeValue field is set.
*/
+ @java.lang.Override
public boolean hasTimeValue() {
return typeCase_ == 6;
}
@@ -432,6 +439,7 @@ public boolean hasTimeValue() {
*
* @return The timeValue.
*/
+ @java.lang.Override
public com.google.type.TimeOfDay getTimeValue() {
if (typeCase_ == 6) {
return (com.google.type.TimeOfDay) type_;
@@ -447,6 +455,7 @@ public com.google.type.TimeOfDay getTimeValue() {
*
* .google.type.TimeOfDay time_value = 6;
*/
+ @java.lang.Override
public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
if (typeCase_ == 6) {
return (com.google.type.TimeOfDay) type_;
@@ -466,6 +475,7 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
*
* @return Whether the dateValue field is set.
*/
+ @java.lang.Override
public boolean hasDateValue() {
return typeCase_ == 7;
}
@@ -480,6 +490,7 @@ public boolean hasDateValue() {
*
* @return The dateValue.
*/
+ @java.lang.Override
public com.google.type.Date getDateValue() {
if (typeCase_ == 7) {
return (com.google.type.Date) type_;
@@ -495,6 +506,7 @@ public com.google.type.Date getDateValue() {
*
* .google.type.Date date_value = 7;
*/
+ @java.lang.Override
public com.google.type.DateOrBuilder getDateValueOrBuilder() {
if (typeCase_ == 7) {
return (com.google.type.Date) type_;
@@ -1192,6 +1204,7 @@ public Builder clearFloatValue() {
*
* @return The stringValue.
*/
+ @java.lang.Override
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -1219,6 +1232,7 @@ public java.lang.String getStringValue() {
*
* @return The bytes for stringValue.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getStringValueBytes() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -1369,6 +1383,7 @@ public Builder clearBooleanValue() {
*
* @return Whether the timestampValue field is set.
*/
+ @java.lang.Override
public boolean hasTimestampValue() {
return typeCase_ == 5;
}
@@ -1383,6 +1398,7 @@ public boolean hasTimestampValue() {
*
* @return The timestampValue.
*/
+ @java.lang.Override
public com.google.protobuf.Timestamp getTimestampValue() {
if (timestampValueBuilder_ == null) {
if (typeCase_ == 5) {
@@ -1512,6 +1528,7 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
*
* .google.protobuf.Timestamp timestamp_value = 5;
*/
+ @java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
if ((typeCase_ == 5) && (timestampValueBuilder_ != null)) {
return timestampValueBuilder_.getMessageOrBuilder();
@@ -1570,6 +1587,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
*
* @return Whether the timeValue field is set.
*/
+ @java.lang.Override
public boolean hasTimeValue() {
return typeCase_ == 6;
}
@@ -1584,6 +1602,7 @@ public boolean hasTimeValue() {
*
* @return The timeValue.
*/
+ @java.lang.Override
public com.google.type.TimeOfDay getTimeValue() {
if (timeValueBuilder_ == null) {
if (typeCase_ == 6) {
@@ -1713,6 +1732,7 @@ public com.google.type.TimeOfDay.Builder getTimeValueBuilder() {
*
* .google.type.TimeOfDay time_value = 6;
*/
+ @java.lang.Override
public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
if ((typeCase_ == 6) && (timeValueBuilder_ != null)) {
return timeValueBuilder_.getMessageOrBuilder();
@@ -1769,6 +1789,7 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
*
* @return Whether the dateValue field is set.
*/
+ @java.lang.Override
public boolean hasDateValue() {
return typeCase_ == 7;
}
@@ -1783,6 +1804,7 @@ public boolean hasDateValue() {
*
* @return The dateValue.
*/
+ @java.lang.Override
public com.google.type.Date getDateValue() {
if (dateValueBuilder_ == null) {
if (typeCase_ == 7) {
@@ -1912,6 +1934,7 @@ public com.google.type.Date.Builder getDateValueBuilder() {
*
* .google.type.Date date_value = 7;
*/
+ @java.lang.Override
public com.google.type.DateOrBuilder getDateValueOrBuilder() {
if ((typeCase_ == 7) && (dateValueBuilder_ != null)) {
return dateValueBuilder_.getMessageOrBuilder();
@@ -1961,6 +1984,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() {
*
* @return The enum numeric value on the wire for dayOfWeekValue.
*/
+ @java.lang.Override
public int getDayOfWeekValueValue() {
if (typeCase_ == 8) {
return ((java.lang.Integer) type_).intValue();
@@ -1996,6 +2020,7 @@ public Builder setDayOfWeekValueValue(int value) {
*
* @return The dayOfWeekValue.
*/
+ @java.lang.Override
public com.google.type.DayOfWeek getDayOfWeekValue() {
if (typeCase_ == 8) {
@SuppressWarnings("deprecation")
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
index 04c71c92..9daa2bf1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
@@ -135,6 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the value field is set.
*/
+ @java.lang.Override
public boolean hasValue() {
return value_ != null;
}
@@ -149,6 +150,7 @@ public boolean hasValue() {
*
* @return The value.
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.Value getValue() {
return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_;
}
@@ -161,6 +163,7 @@ public com.google.privacy.dlp.v2.Value getValue() {
*
* .google.privacy.dlp.v2.Value value = 1;
*/
+ @java.lang.Override
public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
return getValue();
}
@@ -178,6 +181,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
@@ -715,6 +719,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
*
* @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
index 29291fa5..dea49625 100644
--- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
+++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
@@ -2423,16 +2423,16 @@ message CryptoReplaceFfxFpeConfig {
// Unused.
FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED = 0;
- // [0-9] (radix of 10)
+ // `[0-9]` (radix of 10)
NUMERIC = 1;
- // [0-9A-F] (radix of 16)
+ // `[0-9A-F]` (radix of 16)
HEXADECIMAL = 2;
- // [0-9A-Z] (radix of 36)
+ // `[0-9A-Z]` (radix of 36)
UPPER_CASE_ALPHA_NUMERIC = 3;
- // [0-9A-Za-z] (radix of 62)
+ // `[0-9A-Za-z]` (radix of 62)
ALPHA_NUMERIC = 4;
}
@@ -2491,7 +2491,7 @@ message CryptoReplaceFfxFpeConfig {
//
// This annotation identifies the surrogate when inspecting content using the
// custom infoType
- // [`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).
+ // [`SurrogateType`](https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).
// This facilitates reversal of the surrogate when it occurs in free text.
//
// In order for inspection to work properly, the name of this infoType must
@@ -2982,7 +2982,7 @@ message Action {
// Publish a message into given Pub/Sub topic when DlpJob has completed. The
// message contains a single field, `DlpJobName`, which is equal to the
// finished job's
- // [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
+ // [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
// Compatible with: Inspect, Risk
message PublishToPubSub {
// Cloud Pub/Sub topic to send notifications to. The topic must have given
diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
index 9408d6de..9276bb4b 100644
--- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
+++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
@@ -128,7 +128,7 @@ message CustomInfoType {
// Message for detecting output from deidentification transformations
// such as
- // [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+ // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
// These types of transformations are
// those that perform pseudonymization, thereby producing a "surrogate" as
// output. This should be used in conjunction with a field on the
diff --git a/synth.metadata b/synth.metadata
index a9020113..fd96d27a 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "1b8b77db10a0bd0ff47a4259ae9804b6237bc1c7",
- "internalRef": "311164352"
+ "sha": "f72c3a53fe6705cd705b4fc4e464bed4dbd1f18f",
+ "internalRef": "314606371"
}
},
{