Interface SearchResponse.GuidedSearchResultOrBuilder (0.37.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of followUpQuestions.

getFollowUpQuestionsList()

public abstract List<String> getFollowUpQuestionsList()

Suggested follow-up questions.

repeated string follow_up_questions = 2;

Returns
TypeDescription
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.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.GuidedSearchResult.RefinementAttribute

getRefinementAttributesCount()

public abstract int getRefinementAttributesCount()

A list of ranked refinement attributes.

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

Returns
TypeDescription
int

getRefinementAttributesList()

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

A list of ranked refinement attributes.

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

Returns
TypeDescription
List<RefinementAttribute>

getRefinementAttributesOrBuilder(int index)

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

A list of ranked refinement attributes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder

getRefinementAttributesOrBuilderList()

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

A list of ranked refinement attributes.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder>