public static final class ExclusionRule.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExclusionRule.BuilderImplements
ExclusionRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExclusionRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ExclusionRule.Builder |
build()
public ExclusionRule build()| Type | Description |
| ExclusionRule |
buildPartial()
public ExclusionRule buildPartial()| Type | Description |
| ExclusionRule |
clear()
public ExclusionRule.Builder clear()| Type | Description |
| ExclusionRule.Builder |
clearDictionary()
public ExclusionRule.Builder clearDictionary()Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Type | Description |
| ExclusionRule.Builder |
clearExcludeInfoTypes()
public ExclusionRule.Builder clearExcludeInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Type | Description |
| ExclusionRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExclusionRule.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ExclusionRule.Builder |
clearMatchingType()
public ExclusionRule.Builder clearMatchingType()How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
| Type | Description |
| ExclusionRule.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExclusionRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ExclusionRule.Builder |
clearRegex()
public ExclusionRule.Builder clearRegex()Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Type | Description |
| ExclusionRule.Builder |
clearType()
public ExclusionRule.Builder clearType()| Type | Description |
| ExclusionRule.Builder |
clone()
public ExclusionRule.Builder clone()| Type | Description |
| ExclusionRule.Builder |
getDefaultInstanceForType()
public ExclusionRule getDefaultInstanceForType()| Type | Description |
| ExclusionRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDictionary()
public CustomInfoType.Dictionary getDictionary()Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Type | Description |
| CustomInfoType.Dictionary | The dictionary. |
getDictionaryBuilder()
public CustomInfoType.Dictionary.Builder getDictionaryBuilder()Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Type | Description |
| CustomInfoType.Dictionary.Builder |
getDictionaryOrBuilder()
public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Type | Description |
| CustomInfoType.DictionaryOrBuilder |
getExcludeInfoTypes()
public ExcludeInfoTypes getExcludeInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Type | Description |
| ExcludeInfoTypes | The excludeInfoTypes. |
getExcludeInfoTypesBuilder()
public ExcludeInfoTypes.Builder getExcludeInfoTypesBuilder()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Type | Description |
| ExcludeInfoTypes.Builder |
getExcludeInfoTypesOrBuilder()
public ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Type | Description |
| ExcludeInfoTypesOrBuilder |
getMatchingType()
public MatchingType getMatchingType()How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
| Type | Description |
| MatchingType | The matchingType. |
getMatchingTypeValue()
public int getMatchingTypeValue()How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
| Type | Description |
| int | The enum numeric value on the wire for matchingType. |
getRegex()
public CustomInfoType.Regex getRegex()Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Type | Description |
| CustomInfoType.Regex | The regex. |
getRegexBuilder()
public CustomInfoType.Regex.Builder getRegexBuilder()Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Type | Description |
| CustomInfoType.Regex.Builder |
getRegexOrBuilder()
public CustomInfoType.RegexOrBuilder getRegexOrBuilder()Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Type | Description |
| CustomInfoType.RegexOrBuilder |
getTypeCase()
public ExclusionRule.TypeCase getTypeCase()| Type | Description |
| ExclusionRule.TypeCase |
hasDictionary()
public boolean hasDictionary()Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Type | Description |
| boolean | Whether the dictionary field is set. |
hasExcludeInfoTypes()
public boolean hasExcludeInfoTypes()Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Type | Description |
| boolean | Whether the excludeInfoTypes field is set. |
hasRegex()
public boolean hasRegex()Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Type | Description |
| boolean | Whether the regex field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeDictionary(CustomInfoType.Dictionary value)
public ExclusionRule.Builder mergeDictionary(CustomInfoType.Dictionary value)Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Name | Description |
| value | CustomInfoType.Dictionary |
| Type | Description |
| ExclusionRule.Builder |
mergeExcludeInfoTypes(ExcludeInfoTypes value)
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;
| Name | Description |
| value | ExcludeInfoTypes |
| Type | Description |
| ExclusionRule.Builder |
mergeFrom(ExclusionRule other)
public ExclusionRule.Builder mergeFrom(ExclusionRule other)| Name | Description |
| other | ExclusionRule |
| Type | Description |
| ExclusionRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExclusionRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ExclusionRule.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ExclusionRule.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ExclusionRule.Builder |
mergeRegex(CustomInfoType.Regex value)
public ExclusionRule.Builder mergeRegex(CustomInfoType.Regex value)Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Name | Description |
| value | CustomInfoType.Regex |
| Type | Description |
| ExclusionRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExclusionRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ExclusionRule.Builder |
setDictionary(CustomInfoType.Dictionary value)
public ExclusionRule.Builder setDictionary(CustomInfoType.Dictionary value)Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Name | Description |
| value | CustomInfoType.Dictionary |
| Type | Description |
| ExclusionRule.Builder |
setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
public ExclusionRule.Builder setDictionary(CustomInfoType.Dictionary.Builder builderForValue)Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
| Name | Description |
| builderForValue | CustomInfoType.Dictionary.Builder |
| Type | Description |
| ExclusionRule.Builder |
setExcludeInfoTypes(ExcludeInfoTypes value)
public ExclusionRule.Builder setExcludeInfoTypes(ExcludeInfoTypes value)Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
| Name | Description |
| value | ExcludeInfoTypes |
| Type | Description |
| ExclusionRule.Builder |
setExcludeInfoTypes(ExcludeInfoTypes.Builder builderForValue)
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;
| Name | Description |
| builderForValue | ExcludeInfoTypes.Builder |
| Type | Description |
| ExclusionRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExclusionRule.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ExclusionRule.Builder |
setMatchingType(MatchingType value)
public ExclusionRule.Builder setMatchingType(MatchingType value)How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
| Name | Description |
| value | MatchingTypeThe matchingType to set. |
| Type | Description |
| ExclusionRule.Builder | This builder for chaining. |
setMatchingTypeValue(int value)
public ExclusionRule.Builder setMatchingTypeValue(int value)How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
| Name | Description |
| value | intThe enum numeric value on the wire for matchingType to set. |
| Type | Description |
| ExclusionRule.Builder | This builder for chaining. |
setRegex(CustomInfoType.Regex value)
public ExclusionRule.Builder setRegex(CustomInfoType.Regex value)Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Name | Description |
| value | CustomInfoType.Regex |
| Type | Description |
| ExclusionRule.Builder |
setRegex(CustomInfoType.Regex.Builder builderForValue)
public ExclusionRule.Builder setRegex(CustomInfoType.Regex.Builder builderForValue)Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
| Name | Description |
| builderForValue | CustomInfoType.Regex.Builder |
| Type | Description |
| ExclusionRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExclusionRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ExclusionRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExclusionRule.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ExclusionRule.Builder |