Interface SearchRequest.PersonalizationSpecOrBuilder (2.57.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
Type Description
SearchRequest.PersonalizationSpec.Mode

The mode.

getModeValue()

public abstract int getModeValue()

Defaults to Mode.AUTO.

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

Returns
Type Description
int

The enum numeric value on the wire for mode.