Package com.google.privacy.dlp.v2
Interface ExcludeByHotwordOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExcludeByHotword
,ExcludeByHotword.Builder
public interface ExcludeByHotwordOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomInfoType.Regex
getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.CustomInfoType.RegexOrBuilder
getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.CustomInfoType.DetectionRule.Proximity
getProximity()
Range of characters within which the entire hotword must reside.CustomInfoType.DetectionRule.ProximityOrBuilder
getProximityOrBuilder()
Range of characters within which the entire hotword must reside.boolean
hasHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.boolean
hasProximity()
Range of characters within which the entire hotword must reside.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHotwordRegex
boolean hasHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
- Returns:
- Whether the hotwordRegex field is set.
-
getHotwordRegex
CustomInfoType.Regex getHotwordRegex()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
- Returns:
- The hotwordRegex.
-
getHotwordRegexOrBuilder
CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder()
Regular expression pattern defining what qualifies as a hotword.
.google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
-
hasProximity
boolean hasProximity()
Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set to 1 if the hotword needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
- Returns:
- Whether the proximity field is set.
-
getProximity
CustomInfoType.DetectionRule.Proximity getProximity()
Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set to 1 if the hotword needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
- Returns:
- The proximity.
-
getProximityOrBuilder
CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder()
Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set to 1 if the hotword needs to be included in a column header.
.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
-
-