Interface SearchResponse.SearchResult.RankSignals.CustomSignalOrBuilder (0.70.0)

public static interface SearchResponse.SearchResult.RankSignals.CustomSignalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of the signal.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the signal.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getValue()

public abstract float getValue()

Float value representing the ranking signal (e.g. 1.25 for BM25).

float value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The value.