Interface SearchResponse.GuidedSearchResultOrBuilder (0.38.0)

public static interface SearchResponse.GuidedSearchResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFollowUpQuestions(int index)

public abstract String getFollowUpQuestions(int index)

Suggested follow-up questions.

repeated string follow_up_questions = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The followUpQuestions at the given index.

getFollowUpQuestionsBytes(int index)

public abstract ByteString getFollowUpQuestionsBytes(int index)

Suggested follow-up questions.

repeated string follow_up_questions = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the followUpQuestions at the given index.

getFollowUpQuestionsCount()

public abstract int getFollowUpQuestionsCount()

Suggested follow-up questions.

repeated string follow_up_questions = 2;

Returns
Type Description
int

The count of followUpQuestions.

getFollowUpQuestionsList()

public abstract List<String> getFollowUpQuestionsList()

Suggested follow-up questions.

repeated string follow_up_questions = 2;

Returns
Type Description
List<String>

A list containing the followUpQuestions.

getRefinementAttributes(int index)

public abstract SearchResponse.GuidedSearchResult.RefinementAttribute getRefinementAttributes(int index)

A list of ranked refinement attributes.

repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.GuidedSearchResult.RefinementAttribute

getRefinementAttributesCount()

public abstract int getRefinementAttributesCount()

A list of ranked refinement attributes.

repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Returns
Type Description
int

getRefinementAttributesList()

public abstract List<SearchResponse.GuidedSearchResult.RefinementAttribute> getRefinementAttributesList()

A list of ranked refinement attributes.

repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Returns
Type Description
List<RefinementAttribute>

getRefinementAttributesOrBuilder(int index)

public abstract SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder getRefinementAttributesOrBuilder(int index)

A list of ranked refinement attributes.

repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder

getRefinementAttributesOrBuilderList()

public abstract List<? extends SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder> getRefinementAttributesOrBuilderList()

A list of ranked refinement attributes.

repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder>