Interface SearchRequest.PersonalizationSpecOrBuilder (2.20.0)

public static interface SearchRequest.PersonalizationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract SearchRequest.PersonalizationSpec.Mode getMode()

Defaults to Mode.AUTO.

.google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode mode = 1;

Returns
TypeDescription
SearchRequest.PersonalizationSpec.Mode

The mode.

getModeValue()

public abstract int getModeValue()

Defaults to Mode.AUTO.

.google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode mode = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for mode.