Interface ConverseConversationResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConverseConversationResponse
,ConverseConversationResponse.Builder
public interface ConverseConversationResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Conversation
getConversation()
Updated conversation including the answer.ConversationOrBuilder
getConversationOrBuilder()
Updated conversation including the answer.String
getRelatedQuestions(int index)
Suggested related questions.com.google.protobuf.ByteString
getRelatedQuestionsBytes(int index)
Suggested related questions.int
getRelatedQuestionsCount()
Suggested related questions.List<String>
getRelatedQuestionsList()
Suggested related questions.Reply
getReply()
Answer to the current query.ReplyOrBuilder
getReplyOrBuilder()
Answer to the current query.SearchResponse.SearchResult
getSearchResults(int index)
Search Results.int
getSearchResultsCount()
Search Results.List<SearchResponse.SearchResult>
getSearchResultsList()
Search Results.SearchResponse.SearchResultOrBuilder
getSearchResultsOrBuilder(int index)
Search Results.List<? extends SearchResponse.SearchResultOrBuilder>
getSearchResultsOrBuilderList()
Search Results.boolean
hasConversation()
Updated conversation including the answer.boolean
hasReply()
Answer to the current query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasReply
boolean hasReply()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
- Returns:
- Whether the reply field is set.
-
getReply
Reply getReply()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
- Returns:
- The reply.
-
getReplyOrBuilder
ReplyOrBuilder getReplyOrBuilder()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
-
hasConversation
boolean hasConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
- Returns:
- Whether the conversation field is set.
-
getConversation
Conversation getConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
- Returns:
- The conversation.
-
getConversationOrBuilder
ConversationOrBuilder getConversationOrBuilder()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
-
getRelatedQuestionsList
List<String> getRelatedQuestionsList()
Suggested related questions.
repeated string related_questions = 6;
- Returns:
- A list containing the relatedQuestions.
-
getRelatedQuestionsCount
int getRelatedQuestionsCount()
Suggested related questions.
repeated string related_questions = 6;
- Returns:
- The count of relatedQuestions.
-
getRelatedQuestions
String getRelatedQuestions(int index)
Suggested related questions.
repeated string related_questions = 6;
- Parameters:
index
- The index of the element to return.- Returns:
- The relatedQuestions at the given index.
-
getRelatedQuestionsBytes
com.google.protobuf.ByteString getRelatedQuestionsBytes(int index)
Suggested related questions.
repeated string related_questions = 6;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the relatedQuestions at the given index.
-
getSearchResultsList
List<SearchResponse.SearchResult> getSearchResultsList()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
-
getSearchResults
SearchResponse.SearchResult getSearchResults(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
-
getSearchResultsCount
int getSearchResultsCount()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
-
getSearchResultsOrBuilderList
List<? extends SearchResponse.SearchResultOrBuilder> getSearchResultsOrBuilderList()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
-
getSearchResultsOrBuilder
SearchResponse.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
-
-