public static final class SearchResponse.ConversationalSearchResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder> implements SearchResponse.ConversationalSearchResultOrBuilder
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.Protobuf type
google.cloud.retail.v2.SearchResponse.ConversationalSearchResultgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SearchResponse.ConversationalSearchResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SearchResponse.ConversationalSearchResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SearchResponse.ConversationalSearchResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder mergeFrom(SearchResponse.ConversationalSearchResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public SearchResponse.ConversationalSearchResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.ConversationalSearchResult.Builder>IOExceptionpublic String getConversationId()
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.conversation_id] to restore conversation state in server.
string conversation_id = 1;getConversationId in interface SearchResponse.ConversationalSearchResultOrBuilderpublic com.google.protobuf.ByteString getConversationIdBytes()
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.conversation_id] to restore conversation state in server.
string conversation_id = 1;getConversationIdBytes in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.Builder setConversationId(String value)
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.conversation_id] to restore conversation state in server.
string conversation_id = 1;value - The conversationId to set.public SearchResponse.ConversationalSearchResult.Builder clearConversationId()
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.conversation_id] to restore conversation state in server.
string conversation_id = 1;public SearchResponse.ConversationalSearchResult.Builder setConversationIdBytes(com.google.protobuf.ByteString value)
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.conversation_id] to restore conversation state in server.
string conversation_id = 1;value - The bytes for conversationId to set.public String getRefinedQuery()
The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if [SearchRequest.query][google.cloud.retail.v2.SearchRequest.query] is `dress` and next [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer] is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.
string refined_query = 2;getRefinedQuery in interface SearchResponse.ConversationalSearchResultOrBuilderpublic com.google.protobuf.ByteString getRefinedQueryBytes()
The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if [SearchRequest.query][google.cloud.retail.v2.SearchRequest.query] is `dress` and next [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer] is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.
string refined_query = 2;getRefinedQueryBytes in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.Builder setRefinedQuery(String value)
The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if [SearchRequest.query][google.cloud.retail.v2.SearchRequest.query] is `dress` and next [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer] is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.
string refined_query = 2;value - The refinedQuery to set.public SearchResponse.ConversationalSearchResult.Builder clearRefinedQuery()
The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if [SearchRequest.query][google.cloud.retail.v2.SearchRequest.query] is `dress` and next [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer] is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.
string refined_query = 2;public SearchResponse.ConversationalSearchResult.Builder setRefinedQueryBytes(com.google.protobuf.ByteString value)
The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if [SearchRequest.query][google.cloud.retail.v2.SearchRequest.query] is `dress` and next [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer] is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.
string refined_query = 2;value - The bytes for refinedQuery to set.@Deprecated public List<SearchResponse.ConversationalSearchResult.AdditionalFilter> getAdditionalFiltersList()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
getAdditionalFiltersList in interface SearchResponse.ConversationalSearchResultOrBuilder@Deprecated public int getAdditionalFiltersCount()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
getAdditionalFiltersCount in interface SearchResponse.ConversationalSearchResultOrBuilder@Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilter getAdditionalFilters(int index)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
getAdditionalFilters in interface SearchResponse.ConversationalSearchResultOrBuilder@Deprecated public SearchResponse.ConversationalSearchResult.Builder setAdditionalFilters(int index, SearchResponse.ConversationalSearchResult.AdditionalFilter value)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder setAdditionalFilters(int index, SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder builderForValue)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder addAdditionalFilters(SearchResponse.ConversationalSearchResult.AdditionalFilter value)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder addAdditionalFilters(int index, SearchResponse.ConversationalSearchResult.AdditionalFilter value)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder addAdditionalFilters(SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder builderForValue)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder addAdditionalFilters(int index, SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder builderForValue)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder addAllAdditionalFilters(Iterable<? extends SearchResponse.ConversationalSearchResult.AdditionalFilter> values)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder clearAdditionalFilters()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.Builder removeAdditionalFilters(int index)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder getAdditionalFiltersBuilder(int index)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilterOrBuilder getAdditionalFiltersOrBuilder(int index)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
getAdditionalFiltersOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilder@Deprecated public List<? extends SearchResponse.ConversationalSearchResult.AdditionalFilterOrBuilder> getAdditionalFiltersOrBuilderList()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
getAdditionalFiltersOrBuilderList in interface SearchResponse.ConversationalSearchResultOrBuilder@Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder addAdditionalFiltersBuilder()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder addAdditionalFiltersBuilder(int index)
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
@Deprecated public List<SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder> getAdditionalFiltersBuilderList()
This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
public String getFollowupQuestion()
The follow-up question. e.g., `What is the color?`
string followup_question = 4;getFollowupQuestion in interface SearchResponse.ConversationalSearchResultOrBuilderpublic com.google.protobuf.ByteString getFollowupQuestionBytes()
The follow-up question. e.g., `What is the color?`
string followup_question = 4;getFollowupQuestionBytes in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.Builder setFollowupQuestion(String value)
The follow-up question. e.g., `What is the color?`
string followup_question = 4;value - The followupQuestion to set.public SearchResponse.ConversationalSearchResult.Builder clearFollowupQuestion()
The follow-up question. e.g., `What is the color?`
string followup_question = 4;public SearchResponse.ConversationalSearchResult.Builder setFollowupQuestionBytes(com.google.protobuf.ByteString value)
The follow-up question. e.g., `What is the color?`
string followup_question = 4;value - The bytes for followupQuestion to set.public List<SearchResponse.ConversationalSearchResult.SuggestedAnswer> getSuggestedAnswersList()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
getSuggestedAnswersList in interface SearchResponse.ConversationalSearchResultOrBuilderpublic int getSuggestedAnswersCount()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
getSuggestedAnswersCount in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.SuggestedAnswer getSuggestedAnswers(int index)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
getSuggestedAnswers in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.Builder setSuggestedAnswers(int index, SearchResponse.ConversationalSearchResult.SuggestedAnswer value)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder setSuggestedAnswers(int index, SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder builderForValue)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder addSuggestedAnswers(SearchResponse.ConversationalSearchResult.SuggestedAnswer value)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder addSuggestedAnswers(int index, SearchResponse.ConversationalSearchResult.SuggestedAnswer value)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder addSuggestedAnswers(SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder builderForValue)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder addSuggestedAnswers(int index, SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder builderForValue)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder addAllSuggestedAnswers(Iterable<? extends SearchResponse.ConversationalSearchResult.SuggestedAnswer> values)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder clearSuggestedAnswers()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.Builder removeSuggestedAnswers(int index)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder getSuggestedAnswersBuilder(int index)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.SuggestedAnswerOrBuilder getSuggestedAnswersOrBuilder(int index)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
getSuggestedAnswersOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilderpublic List<? extends SearchResponse.ConversationalSearchResult.SuggestedAnswerOrBuilder> getSuggestedAnswersOrBuilderList()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
getSuggestedAnswersOrBuilderList in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder addSuggestedAnswersBuilder()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder addSuggestedAnswersBuilder(int index)
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public List<SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder> getSuggestedAnswersBuilderList()
The answer options provided to client for the follow-up question.
repeated .google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
public boolean hasAdditionalFilter()
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
hasAdditionalFilter in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.AdditionalFilter getAdditionalFilter()
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
getAdditionalFilter in interface SearchResponse.ConversationalSearchResultOrBuilderpublic SearchResponse.ConversationalSearchResult.Builder setAdditionalFilter(SearchResponse.ConversationalSearchResult.AdditionalFilter value)
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
public SearchResponse.ConversationalSearchResult.Builder setAdditionalFilter(SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder builderForValue)
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
public SearchResponse.ConversationalSearchResult.Builder mergeAdditionalFilter(SearchResponse.ConversationalSearchResult.AdditionalFilter value)
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
public SearchResponse.ConversationalSearchResult.Builder clearAdditionalFilter()
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
public SearchResponse.ConversationalSearchResult.AdditionalFilter.Builder getAdditionalFilterBuilder()
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
public SearchResponse.ConversationalSearchResult.AdditionalFilterOrBuilder getAdditionalFilterOrBuilder()
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous [SearchRequest.filter][google.cloud.retail.v2.SearchRequest.filter], and use the merged filter in the follow up search request.
.google.cloud.retail.v2.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
getAdditionalFilterOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilderpublic final SearchResponse.ConversationalSearchResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>public final SearchResponse.ConversationalSearchResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchResponse.ConversationalSearchResult.Builder>Copyright © 2025 Google LLC. All rights reserved.