Interface AdvancedCompleteQueryRequest.SuggestionTypeSpecOrBuilder (0.90.0)

public static interface AdvancedCompleteQueryRequest.SuggestionTypeSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxSuggestions()

public abstract int getMaxSuggestions()

Optional. Maximum number of suggestions to return for each suggestion type.

int32 max_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxSuggestions.

getSuggestionType()

public abstract AdvancedCompleteQueryRequest.SuggestionType getSuggestionType()

Optional. Suggestion type.

.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.SuggestionType suggestion_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdvancedCompleteQueryRequest.SuggestionType

The suggestionType.

getSuggestionTypeValue()

public abstract int getSuggestionTypeValue()

Optional. Suggestion type.

.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.SuggestionType suggestion_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for suggestionType.