Interface CustomInfoType.DetectionRule.ProximityOrBuilder (3.28.0)

See more code actions.
public static interface CustomInfoType.DetectionRule.ProximityOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract int getWindowAfter()

Number of characters after the finding to consider.

int32 window_after = 2;

Returns
TypeDescription
int

The windowAfter.

getWindowBefore()

public abstract 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.

int32 window_before = 1;

Returns
TypeDescription
int

The windowBefore.