Interface ConverseConversationResponseOrBuilder (0.32.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
TypeDescription
Conversation

The conversation.

getConversationOrBuilder()

public abstract ConversationOrBuilder getConversationOrBuilder()

Updated conversation including the answer.

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

Returns
TypeDescription
ConversationOrBuilder

getReply()

public abstract Reply getReply()

Answer to the current query.

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

Returns
TypeDescription
Reply

The reply.

getReplyOrBuilder()

public abstract ReplyOrBuilder getReplyOrBuilder()

Answer to the current query.

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

Returns
TypeDescription
ReplyOrBuilder

getSearchResults(int index)

public abstract SearchResponse.SearchResult getSearchResults(int index)

Search Results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.SearchResult

getSearchResultsCount()

public abstract int getSearchResultsCount()

Search Results.

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

Returns
TypeDescription
int

getSearchResultsList()

public abstract List<SearchResponse.SearchResult> getSearchResultsList()

Search Results.

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

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

getSearchResultsOrBuilderList()

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

Search Results.

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

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

Whether the reply field is set.