Interface ConverseConversationResponseOrBuilder (0.42.0)

public interface ConverseConversationResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversation()

public abstract Conversation getConversation()

Updated conversation including the answer.

.google.cloud.discoveryengine.v1.Conversation conversation = 2;

Returns
Type Description
Conversation

The conversation.

getConversationOrBuilder()

public abstract ConversationOrBuilder getConversationOrBuilder()

Updated conversation including the answer.

.google.cloud.discoveryengine.v1.Conversation conversation = 2;

Returns
Type Description
ConversationOrBuilder

getReply()

public abstract Reply getReply()

Answer to the current query.

.google.cloud.discoveryengine.v1.Reply reply = 1;

Returns
Type Description
Reply

The reply.

getReplyOrBuilder()

public abstract ReplyOrBuilder getReplyOrBuilder()

Answer to the current query.

.google.cloud.discoveryengine.v1.Reply reply = 1;

Returns
Type Description
ReplyOrBuilder

getSearchResults(int index)

public abstract SearchResponse.SearchResult getSearchResults(int index)

Search Results.

repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.SearchResult

getSearchResultsCount()

public abstract int getSearchResultsCount()

Search Results.

repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;

Returns
Type Description
int

getSearchResultsList()

public abstract List<SearchResponse.SearchResult> getSearchResultsList()

Search Results.

repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;

Returns
Type Description
List<SearchResult>

getSearchResultsOrBuilder(int index)

public abstract SearchResponse.SearchResultOrBuilder getSearchResultsOrBuilder(int index)

Search Results.

repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.SearchResultOrBuilder

getSearchResultsOrBuilderList()

public abstract List<? extends SearchResponse.SearchResultOrBuilder> getSearchResultsOrBuilderList()

Search Results.

repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.SearchResponse.SearchResultOrBuilder>

hasConversation()

public abstract boolean hasConversation()

Updated conversation including the answer.

.google.cloud.discoveryengine.v1.Conversation conversation = 2;

Returns
Type Description
boolean

Whether the conversation field is set.

hasReply()

public abstract boolean hasReply()

Answer to the current query.

.google.cloud.discoveryengine.v1.Reply reply = 1;

Returns
Type Description
boolean

Whether the reply field is set.