Interface CustomInfoType.DetectionRule.ProximityOrBuilder (3.40.0)

public static interface CustomInfoType.DetectionRule.ProximityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWindowAfter()

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.