Interface InspectionRuleOrBuilder (3.56.0)

public interface InspectionRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExclusionRule()

public abstract ExclusionRule getExclusionRule()

Exclusion rule.

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

Returns
Type Description
ExclusionRule

The exclusionRule.

getExclusionRuleOrBuilder()

public abstract ExclusionRuleOrBuilder getExclusionRuleOrBuilder()

Exclusion rule.

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

Returns
Type Description
ExclusionRuleOrBuilder

getHotwordRule()

public abstract CustomInfoType.DetectionRule.HotwordRule getHotwordRule()

Hotword-based detection rule.

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

Returns
Type Description
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
Type Description
CustomInfoType.DetectionRule.HotwordRuleOrBuilder

getTypeCase()

public abstract InspectionRule.TypeCase getTypeCase()
Returns
Type Description
InspectionRule.TypeCase

hasExclusionRule()

public abstract boolean hasExclusionRule()

Exclusion rule.

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

Returns
Type Description
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
Type Description
boolean

Whether the hotwordRule field is set.