- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
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 |
clearExcludeByHotword()
public ExclusionRule.Builder clearExcludeByHotword()
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
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 |
getExcludeByHotword()
public ExcludeByHotword getExcludeByHotword()
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Type | Description |
ExcludeByHotword | The excludeByHotword. |
getExcludeByHotwordBuilder()
public ExcludeByHotword.Builder getExcludeByHotwordBuilder()
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Type | Description |
ExcludeByHotword.Builder |
getExcludeByHotwordOrBuilder()
public ExcludeByHotwordOrBuilder getExcludeByHotwordOrBuilder()
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Type | Description |
ExcludeByHotwordOrBuilder |
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. |
hasExcludeByHotword()
public boolean hasExcludeByHotword()
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Type | Description |
boolean | Whether the excludeByHotword 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 |
mergeExcludeByHotword(ExcludeByHotword value)
public ExclusionRule.Builder mergeExcludeByHotword(ExcludeByHotword value)
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Name | Description |
value | ExcludeByHotword |
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 |
setExcludeByHotword(ExcludeByHotword value)
public ExclusionRule.Builder setExcludeByHotword(ExcludeByHotword value)
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Name | Description |
value | ExcludeByHotword |
Type | Description |
ExclusionRule.Builder |
setExcludeByHotword(ExcludeByHotword.Builder builderForValue)
public ExclusionRule.Builder setExcludeByHotword(ExcludeByHotword.Builder builderForValue)
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Name | Description |
builderForValue | ExcludeByHotword.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 | MatchingType The 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 | int The 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 |