Interface InspectionRuleOrBuilder (3.6.6)

public interface InspectionRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExclusionRule()

public abstract ExclusionRule getExclusionRule()

Exclusion rule.

.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;

Returns
TypeDescription
ExclusionRule

The exclusionRule.

getExclusionRuleOrBuilder()

public abstract ExclusionRuleOrBuilder getExclusionRuleOrBuilder()

Exclusion rule.

.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;

Returns
TypeDescription
ExclusionRuleOrBuilder

getHotwordRule()

public abstract CustomInfoType.DetectionRule.HotwordRule getHotwordRule()

Hotword-based detection rule.

.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;

Returns
TypeDescription
CustomInfoType.DetectionRule.HotwordRule

The hotwordRule.

getHotwordRuleOrBuilder()

public abstract CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder()

Hotword-based detection rule.

.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;

Returns
TypeDescription
CustomInfoType.DetectionRule.HotwordRuleOrBuilder

getTypeCase()

public abstract InspectionRule.TypeCase getTypeCase()
Returns
TypeDescription
InspectionRule.TypeCase

hasExclusionRule()

public abstract boolean hasExclusionRule()

Exclusion rule.

.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;

Returns
TypeDescription
boolean

Whether the exclusionRule field is set.

hasHotwordRule()

public abstract boolean hasHotwordRule()

Hotword-based detection rule.

.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;

Returns
TypeDescription
boolean

Whether the hotwordRule field is set.