Interface CustomInfoType.DetectionRule.ProximityOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getWindowAfter()
      Number of characters after the finding to consider.
      int getWindowBefore()
      Number of characters before the finding to consider.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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/dlp/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.