Interface SearchRequest.PersonalizationSpecOrBuilder (0.50.0)

public static interface SearchRequest.PersonalizationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract SearchRequest.PersonalizationSpec.Mode getMode()

The personalization mode of the search request. Defaults to Mode.AUTO.

.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode mode = 1;

Returns
Type Description
SearchRequest.PersonalizationSpec.Mode

The mode.

getModeValue()

public abstract int getModeValue()

The personalization mode of the search request. Defaults to Mode.AUTO.

.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for mode.