Package com.google.privacy.dlp.v2
Class AdjustmentRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
com.google.privacy.dlp.v2.AdjustmentRule.Builder
- All Implemented Interfaces:
AdjustmentRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdjustmentRule
public static final class AdjustmentRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
implements AdjustmentRuleOrBuilder
Rule that specifies conditions when a certain infoType's finding details should be adjusted.Protobuf type
google.privacy.dlp.v2.AdjustmentRule-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()AdjustmentRule condition for image findings.Set of infoTypes for which findings would affect this rule.Likelihood adjustment to apply to the infoType.AdjustmentRule condition for image findings.AdjustmentRule condition for image findings.AdjustmentRule condition for image findings.Set of infoTypes for which findings would affect this rule.Set of infoTypes for which findings would affect this rule.Set of infoTypes for which findings would affect this rule.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLikelihood adjustment to apply to the infoType.Likelihood adjustment to apply to the infoType.Likelihood adjustment to apply to the infoType.booleanAdjustmentRule condition for image findings.booleanSet of infoTypes for which findings would affect this rule.booleanLikelihood adjustment to apply to the infoType.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAdjustmentRule condition for image findings.Set of infoTypes for which findings would affect this rule.mergeFrom(AdjustmentRule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Likelihood adjustment to apply to the infoType.AdjustmentRule condition for image findings.setAdjustByImageFindings(AdjustByImageFindings.Builder builderForValue) AdjustmentRule condition for image findings.Set of infoTypes for which findings would affect this rule.setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes.Builder builderForValue) Set of infoTypes for which findings would affect this rule.Likelihood adjustment to apply to the infoType.Likelihood adjustment to apply to the infoType.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdjustmentRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AdjustmentRule.Builder>
-
mergeFrom
public AdjustmentRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdjustmentRule.Builder>- Throws:
IOException
-
getConditionsCase
- Specified by:
getConditionsCasein interfaceAdjustmentRuleOrBuilder
-
clearConditions
-
hasAdjustByMatchingInfoTypes
public boolean hasAdjustByMatchingInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;- Specified by:
hasAdjustByMatchingInfoTypesin interfaceAdjustmentRuleOrBuilder- Returns:
- Whether the adjustByMatchingInfoTypes field is set.
-
getAdjustByMatchingInfoTypes
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;- Specified by:
getAdjustByMatchingInfoTypesin interfaceAdjustmentRuleOrBuilder- Returns:
- The adjustByMatchingInfoTypes.
-
setAdjustByMatchingInfoTypes
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1; -
setAdjustByMatchingInfoTypes
public AdjustmentRule.Builder setAdjustByMatchingInfoTypes(AdjustByMatchingInfoTypes.Builder builderForValue) Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1; -
mergeAdjustByMatchingInfoTypes
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1; -
clearAdjustByMatchingInfoTypes
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1; -
getAdjustByMatchingInfoTypesBuilder
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1; -
getAdjustByMatchingInfoTypesOrBuilder
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.AdjustByMatchingInfoTypes adjust_by_matching_info_types = 1;- Specified by:
getAdjustByMatchingInfoTypesOrBuilderin interfaceAdjustmentRuleOrBuilder
-
hasAdjustByImageFindings
public boolean hasAdjustByImageFindings()AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;- Specified by:
hasAdjustByImageFindingsin interfaceAdjustmentRuleOrBuilder- Returns:
- Whether the adjustByImageFindings field is set.
-
getAdjustByImageFindings
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;- Specified by:
getAdjustByImageFindingsin interfaceAdjustmentRuleOrBuilder- Returns:
- The adjustByImageFindings.
-
setAdjustByImageFindings
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3; -
setAdjustByImageFindings
public AdjustmentRule.Builder setAdjustByImageFindings(AdjustByImageFindings.Builder builderForValue) AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3; -
mergeAdjustByImageFindings
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3; -
clearAdjustByImageFindings
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3; -
getAdjustByImageFindingsBuilder
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3; -
getAdjustByImageFindingsOrBuilder
AdjustmentRule condition for image findings.
.google.privacy.dlp.v2.AdjustByImageFindings adjust_by_image_findings = 3;- Specified by:
getAdjustByImageFindingsOrBuilderin interfaceAdjustmentRuleOrBuilder
-
hasLikelihoodAdjustment
public boolean hasLikelihoodAdjustment()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;- Specified by:
hasLikelihoodAdjustmentin interfaceAdjustmentRuleOrBuilder- Returns:
- Whether the likelihoodAdjustment field is set.
-
getLikelihoodAdjustment
Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;- Specified by:
getLikelihoodAdjustmentin interfaceAdjustmentRuleOrBuilder- Returns:
- The likelihoodAdjustment.
-
setLikelihoodAdjustment
public AdjustmentRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value) Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2; -
setLikelihoodAdjustment
public AdjustmentRule.Builder setLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue) Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2; -
mergeLikelihoodAdjustment
public AdjustmentRule.Builder mergeLikelihoodAdjustment(CustomInfoType.DetectionRule.LikelihoodAdjustment value) Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2; -
clearLikelihoodAdjustment
Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2; -
getLikelihoodAdjustmentBuilder
Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2; -
getLikelihoodAdjustmentOrBuilder
public CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder()Likelihood adjustment to apply to the infoType.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 2;- Specified by:
getLikelihoodAdjustmentOrBuilderin interfaceAdjustmentRuleOrBuilder
-