Package com.google.privacy.dlp.v2
Interface CustomInfoType.DetectionRule.ProximityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomInfoType.DetectionRule.Proximity,CustomInfoType.DetectionRule.Proximity.Builder
- Enclosing class:
- CustomInfoType.DetectionRule
public static interface CustomInfoType.DetectionRule.ProximityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of characters after the finding to consider.intNumber of characters before the finding to consider.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getWindowBefore
int getWindowBefore()Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see [Hotword example: Set the match likelihood of a table column] (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values).
int32 window_before = 1;- Returns:
- The windowBefore.
-
getWindowAfter
int getWindowAfter()Number of characters after the finding to consider.
int32 window_after = 2;- Returns:
- The windowAfter.
-