- 3.56.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExclusionRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
build()
public ExclusionRule build()
Returns | |
---|---|
Type | Description |
ExclusionRule |
buildPartial()
public ExclusionRule buildPartial()
Returns | |
---|---|
Type | Description |
ExclusionRule |
clear()
public ExclusionRule.Builder clear()
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
clearDictionary()
public ExclusionRule.Builder clearDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExclusionRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExclusionRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
clearRegex()
public ExclusionRule.Builder clearRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
clearType()
public ExclusionRule.Builder clearType()
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
clone()
public ExclusionRule.Builder clone()
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
getDefaultInstanceForType()
public ExclusionRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExclusionRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDictionary()
public CustomInfoType.Dictionary getDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CustomInfoType.Dictionary.Builder |
getDictionaryOrBuilder()
public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CustomInfoType.Regex.Builder |
getRegexOrBuilder()
public CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
Returns | |
---|---|
Type | Description |
CustomInfoType.RegexOrBuilder |
getTypeCase()
public ExclusionRule.TypeCase getTypeCase()
Returns | |
---|---|
Type | Description |
ExclusionRule.TypeCase |
hasDictionary()
public boolean hasDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the regex field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | CustomInfoType.Dictionary |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ExcludeByHotword |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ExcludeInfoTypes |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
mergeFrom(ExclusionRule other)
public ExclusionRule.Builder mergeFrom(ExclusionRule other)
Parameter | |
---|---|
Name | Description |
other | ExclusionRule |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExclusionRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExclusionRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | CustomInfoType.Regex |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExclusionRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | CustomInfoType.Dictionary |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | CustomInfoType.Dictionary.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ExcludeByHotword |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ExcludeByHotword.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ExcludeInfoTypes |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ExcludeInfoTypes.Builder |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExclusionRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | MatchingType The matchingType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for matchingType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | CustomInfoType.Regex |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | CustomInfoType.Regex.Builder |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExclusionRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExclusionRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExclusionRule.Builder |