Interface Answer.Step.Action.ObservationOrBuilder (0.41.0)

public static interface Answer.Step.Action.ObservationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSearchResults(int index)

public abstract Answer.Step.Action.Observation.SearchResult getSearchResults(int index)

Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.

repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;

Parameter
Name Description
index int
Returns
Type Description
Answer.Step.Action.Observation.SearchResult

getSearchResultsCount()

public abstract int getSearchResultsCount()

Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.

repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;

Returns
Type Description
int

getSearchResultsList()

public abstract List<Answer.Step.Action.Observation.SearchResult> getSearchResultsList()

Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.

repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;

Returns
Type Description
List<SearchResult>

getSearchResultsOrBuilder(int index)

public abstract Answer.Step.Action.Observation.SearchResultOrBuilder getSearchResultsOrBuilder(int index)

Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.

repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;

Parameter
Name Description
index int
Returns
Type Description
Answer.Step.Action.Observation.SearchResultOrBuilder

getSearchResultsOrBuilderList()

public abstract List<? extends Answer.Step.Action.Observation.SearchResultOrBuilder> getSearchResultsOrBuilderList()

Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.

repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResultOrBuilder>