Interface ConverseConversationResponseOrBuilder (0.51.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
Type Description
Conversation

The conversation.

getConversationOrBuilder()

public abstract ConversationOrBuilder getConversationOrBuilder()

Updated conversation including the answer.

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

Returns
Type Description
ConversationOrBuilder

getRelatedQuestions(int index)

public abstract String getRelatedQuestions(int index)

Suggested related questions.

repeated string related_questions = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the relatedQuestions at the given index.

getRelatedQuestionsCount()

public abstract int getRelatedQuestionsCount()

Suggested related questions.

repeated string related_questions = 6;

Returns
Type Description
int

The count of relatedQuestions.

getRelatedQuestionsList()

public abstract List<String> getRelatedQuestionsList()

Suggested related questions.

repeated string related_questions = 6;

Returns
Type Description
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
Type Description
Reply

The reply.

getReplyOrBuilder()

public abstract ReplyOrBuilder getReplyOrBuilder()

Answer to the current query.

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

Returns
Type Description
ReplyOrBuilder

getSearchResults(int index)

public abstract SearchResponse.SearchResult getSearchResults(int index)

Search Results.

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

Returns
Type Description
int

getSearchResultsList()

public abstract List<SearchResponse.SearchResult> getSearchResultsList()

Search Results.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the reply field is set.