public static final class ExclusionRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder> implements ExclusionRuleOrBuilder
The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results.Protobuf type
google.privacy.dlp.v2.ExclusionRule| Modifier and Type | Method and Description |
|---|---|
ExclusionRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExclusionRule |
build() |
ExclusionRule |
buildPartial() |
ExclusionRule.Builder |
clear() |
ExclusionRule.Builder |
clearDictionary()
Dictionary which defines the rule.
|
ExclusionRule.Builder |
clearExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
|
ExclusionRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExclusionRule.Builder |
clearMatchingType()
How the rule is applied, see MatchingType documentation for details.
|
ExclusionRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExclusionRule.Builder |
clearRegex()
Regular expression which defines the rule.
|
ExclusionRule.Builder |
clearType() |
ExclusionRule.Builder |
clone() |
ExclusionRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CustomInfoType.Dictionary |
getDictionary()
Dictionary which defines the rule.
|
CustomInfoType.Dictionary.Builder |
getDictionaryBuilder()
Dictionary which defines the rule.
|
CustomInfoType.DictionaryOrBuilder |
getDictionaryOrBuilder()
Dictionary which defines the rule.
|
ExcludeInfoTypes |
getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
|
ExcludeInfoTypes.Builder |
getExcludeInfoTypesBuilder()
Set of infoTypes for which findings would affect this rule.
|
ExcludeInfoTypesOrBuilder |
getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.
|
MatchingType |
getMatchingType()
How the rule is applied, see MatchingType documentation for details.
|
int |
getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.
|
CustomInfoType.Regex |
getRegex()
Regular expression which defines the rule.
|
CustomInfoType.Regex.Builder |
getRegexBuilder()
Regular expression which defines the rule.
|
CustomInfoType.RegexOrBuilder |
getRegexOrBuilder()
Regular expression which defines the rule.
|
ExclusionRule.TypeCase |
getTypeCase() |
boolean |
hasDictionary()
Dictionary which defines the rule.
|
boolean |
hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
|
boolean |
hasRegex()
Regular expression which defines the rule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExclusionRule.Builder |
mergeDictionary(CustomInfoType.Dictionary value)
Dictionary which defines the rule.
|
ExclusionRule.Builder |
mergeExcludeInfoTypes(ExcludeInfoTypes value)
Set of infoTypes for which findings would affect this rule.
|
ExclusionRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExclusionRule.Builder |
mergeFrom(ExclusionRule other) |
ExclusionRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExclusionRule.Builder |
mergeRegex(CustomInfoType.Regex value)
Regular expression which defines the rule.
|
ExclusionRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExclusionRule.Builder |
setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
Dictionary which defines the rule.
|
ExclusionRule.Builder |
setDictionary(CustomInfoType.Dictionary value)
Dictionary which defines the rule.
|
ExclusionRule.Builder |
setExcludeInfoTypes(ExcludeInfoTypes.Builder builderForValue)
Set of infoTypes for which findings would affect this rule.
|
ExclusionRule.Builder |
setExcludeInfoTypes(ExcludeInfoTypes value)
Set of infoTypes for which findings would affect this rule.
|
ExclusionRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExclusionRule.Builder |
setMatchingType(MatchingType value)
How the rule is applied, see MatchingType documentation for details.
|
ExclusionRule.Builder |
setMatchingTypeValue(int value)
How the rule is applied, see MatchingType documentation for details.
|
ExclusionRule.Builder |
setRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression which defines the rule.
|
ExclusionRule.Builder |
setRegex(CustomInfoType.Regex value)
Regular expression which defines the rule.
|
ExclusionRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExclusionRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExclusionRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExclusionRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExclusionRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExclusionRule.Builder>public ExclusionRule.Builder mergeFrom(ExclusionRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public ExclusionRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExclusionRule.Builder>IOExceptionpublic ExclusionRule.TypeCase getTypeCase()
getTypeCase in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder clearType()
public boolean hasDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;hasDictionary in interface ExclusionRuleOrBuilderpublic CustomInfoType.Dictionary getDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;getDictionary in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder setDictionary(CustomInfoType.Dictionary value)
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;public ExclusionRule.Builder setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;public ExclusionRule.Builder mergeDictionary(CustomInfoType.Dictionary value)
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;public ExclusionRule.Builder clearDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;public CustomInfoType.Dictionary.Builder getDictionaryBuilder()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;getDictionaryOrBuilder in interface ExclusionRuleOrBuilderpublic boolean hasRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;hasRegex in interface ExclusionRuleOrBuilderpublic CustomInfoType.Regex getRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;getRegex in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder setRegex(CustomInfoType.Regex value)
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;public ExclusionRule.Builder setRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;public ExclusionRule.Builder mergeRegex(CustomInfoType.Regex value)
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;public ExclusionRule.Builder clearRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;public CustomInfoType.Regex.Builder getRegexBuilder()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;public CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;getRegexOrBuilder in interface ExclusionRuleOrBuilderpublic boolean hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;hasExcludeInfoTypes in interface ExclusionRuleOrBuilderpublic ExcludeInfoTypes getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;getExcludeInfoTypes in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder setExcludeInfoTypes(ExcludeInfoTypes value)
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;public ExclusionRule.Builder setExcludeInfoTypes(ExcludeInfoTypes.Builder builderForValue)
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;public ExclusionRule.Builder mergeExcludeInfoTypes(ExcludeInfoTypes value)
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;public ExclusionRule.Builder clearExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;public ExcludeInfoTypes.Builder getExcludeInfoTypesBuilder()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;public ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;getExcludeInfoTypesOrBuilder in interface ExclusionRuleOrBuilderpublic int getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;getMatchingTypeValue in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder setMatchingTypeValue(int value)
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;value - The enum numeric value on the wire for matchingType to set.public MatchingType getMatchingType()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;getMatchingType in interface ExclusionRuleOrBuilderpublic ExclusionRule.Builder setMatchingType(MatchingType value)
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;value - The matchingType to set.public ExclusionRule.Builder clearMatchingType()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;public final ExclusionRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>public final ExclusionRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExclusionRule.Builder>Copyright © 2022 Google LLC. All rights reserved.