Package com.google.privacy.dlp.v2
Interface InspectionRuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectionRule
,InspectionRule.Builder
public interface InspectionRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExclusionRule
getExclusionRule()
Exclusion rule.ExclusionRuleOrBuilder
getExclusionRuleOrBuilder()
Exclusion rule.CustomInfoType.DetectionRule.HotwordRule
getHotwordRule()
Hotword-based detection rule.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder()
Hotword-based detection rule.InspectionRule.TypeCase
getTypeCase()
boolean
hasExclusionRule()
Exclusion rule.boolean
hasHotwordRule()
Hotword-based detection rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHotwordRule
boolean hasHotwordRule()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
- Returns:
- Whether the hotwordRule field is set.
-
getHotwordRule
CustomInfoType.DetectionRule.HotwordRule getHotwordRule()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
- Returns:
- The hotwordRule.
-
getHotwordRuleOrBuilder
CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder()
Hotword-based detection rule.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
-
hasExclusionRule
boolean hasExclusionRule()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
- Returns:
- Whether the exclusionRule field is set.
-
getExclusionRule
ExclusionRule getExclusionRule()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
- Returns:
- The exclusionRule.
-
getExclusionRuleOrBuilder
ExclusionRuleOrBuilder getExclusionRuleOrBuilder()
Exclusion rule.
.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
-
getTypeCase
InspectionRule.TypeCase getTypeCase()
-
-