Interface ConverseConversationResponseOrBuilder (0.26.0)

public interface ConverseConversationResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversation()

public abstract Conversation getConversation()

Updated conversation including the answer.

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

Returns
TypeDescription
Conversation

The conversation.

getConversationOrBuilder()

public abstract ConversationOrBuilder getConversationOrBuilder()

Updated conversation including the answer.

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

Returns
TypeDescription
ConversationOrBuilder

getRelatedQuestions(int index)

public abstract String getRelatedQuestions(int index)

Suggested related questions.

repeated string related_questions = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The relatedQuestions at the given index.

getRelatedQuestionsBytes(int index)

public abstract ByteString getRelatedQuestionsBytes(int index)

Suggested related questions.

repeated string related_questions = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the relatedQuestions at the given index.

getRelatedQuestionsCount()

public abstract int getRelatedQuestionsCount()

Suggested related questions.

repeated string related_questions = 6;

Returns
TypeDescription
int

The count of relatedQuestions.

getRelatedQuestionsList()

public abstract List<String> getRelatedQuestionsList()

Suggested related questions.

repeated string related_questions = 6;

Returns
TypeDescription
List<String>

A list containing the relatedQuestions.

getReply()

public abstract Reply getReply()

Answer to the current query.

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

Returns
TypeDescription
Reply

The reply.

getReplyOrBuilder()

public abstract ReplyOrBuilder getReplyOrBuilder()

Answer to the current query.

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

Returns
TypeDescription
ReplyOrBuilder

getSearchResults(int index)

public abstract SearchResponse.SearchResult getSearchResults(int index)

Search Results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.SearchResult

getSearchResultsCount()

public abstract int getSearchResultsCount()

Search Results.

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

Returns
TypeDescription
int

getSearchResultsList()

public abstract List<SearchResponse.SearchResult> getSearchResultsList()

Search Results.

repeated .google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.SearchResponse.SearchResult search_results = 3;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResultOrBuilder>

hasConversation()

public abstract boolean hasConversation()

Updated conversation including the answer.

.google.cloud.discoveryengine.v1alpha.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.v1alpha.Reply reply = 1;

Returns
TypeDescription
boolean

Whether the reply field is set.