- 2.72.0 (latest)
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public interface ConversationalSearchResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConversationId()
public abstract 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 ConversationalSearchRequest.conversation_id to restore conversation state in server.
string conversation_id = 4;
Returns | |
---|---|
Type | Description |
String |
The conversationId. |
getConversationIdBytes()
public abstract 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 ConversationalSearchRequest.conversation_id to restore conversation state in server.
string conversation_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for conversationId. |
getConversationalFilteringResult()
public abstract ConversationalSearchResponse.ConversationalFilteringResult getConversationalFilteringResult()
This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.ConversationalFilteringResult |
The conversationalFilteringResult. |
getConversationalFilteringResultOrBuilder()
public abstract ConversationalSearchResponse.ConversationalFilteringResultOrBuilder getConversationalFilteringResultOrBuilder()
This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.ConversationalFilteringResultOrBuilder |
getConversationalTextResponse()
public abstract String getConversationalTextResponse()
The conversational answer-based text response generated by the Server.
string conversational_text_response = 2;
Returns | |
---|---|
Type | Description |
String |
The conversationalTextResponse. |
getConversationalTextResponseBytes()
public abstract ByteString getConversationalTextResponseBytes()
The conversational answer-based text response generated by the Server.
string conversational_text_response = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for conversationalTextResponse. |
getFollowupQuestion()
public abstract ConversationalSearchResponse.FollowupQuestion getFollowupQuestion()
The conversational followup question generated for Intent refinement.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.FollowupQuestion |
The followupQuestion. |
getFollowupQuestionOrBuilder()
public abstract ConversationalSearchResponse.FollowupQuestionOrBuilder getFollowupQuestionOrBuilder()
The conversational followup question generated for Intent refinement.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.FollowupQuestionOrBuilder |
getRefinedSearch(int index)
public abstract ConversationalSearchResponse.RefinedSearch getRefinedSearch(int index)
The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.RefinedSearch |
getRefinedSearchCount()
public abstract int getRefinedSearchCount()
The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
Returns | |
---|---|
Type | Description |
int |
getRefinedSearchList()
public abstract List<ConversationalSearchResponse.RefinedSearch> getRefinedSearchList()
The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
Returns | |
---|---|
Type | Description |
List<RefinedSearch> |
getRefinedSearchOrBuilder(int index)
public abstract ConversationalSearchResponse.RefinedSearchOrBuilder getRefinedSearchOrBuilder(int index)
The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.RefinedSearchOrBuilder |
getRefinedSearchOrBuilderList()
public abstract List<? extends ConversationalSearchResponse.RefinedSearchOrBuilder> getRefinedSearchOrBuilderList()
The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearchOrBuilder> |
getState()
public abstract ConversationalSearchResponse.State getState()
Output only. The state of the response generation.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationalSearchResponse.State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. The state of the response generation.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUserQueryTypes(int index)
public abstract String getUserQueryTypes(int index)
The types Retail classifies the search query as.
Supported values are:
- "ADVERSARIAL"
- "CHITCHAT"
- "JAILBREAK"
- "ORDER_SUPPORT"
- "SIMPLE_PRODUCT_SEARCH"
- "INTENT_REFINEMENT"
- "PRODUCT_DETAILS"
- "PRODUCT_COMPARISON"
- "DEALS_AND_COUPONS"
- "STORE_RELEVANT"
- "BLOCKLISTED"
- "BEST_PRODUCT"
- "RETAIL_SUPPORT"
- "DISABLED" clang-format off clang-format on
repeated string user_query_types = 10;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The userQueryTypes at the given index. |
getUserQueryTypesBytes(int index)
public abstract ByteString getUserQueryTypesBytes(int index)
The types Retail classifies the search query as.
Supported values are:
- "ADVERSARIAL"
- "CHITCHAT"
- "JAILBREAK"
- "ORDER_SUPPORT"
- "SIMPLE_PRODUCT_SEARCH"
- "INTENT_REFINEMENT"
- "PRODUCT_DETAILS"
- "PRODUCT_COMPARISON"
- "DEALS_AND_COUPONS"
- "STORE_RELEVANT"
- "BLOCKLISTED"
- "BEST_PRODUCT"
- "RETAIL_SUPPORT"
- "DISABLED" clang-format off clang-format on
repeated string user_query_types = 10;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the userQueryTypes at the given index. |
getUserQueryTypesCount()
public abstract int getUserQueryTypesCount()
The types Retail classifies the search query as.
Supported values are:
- "ADVERSARIAL"
- "CHITCHAT"
- "JAILBREAK"
- "ORDER_SUPPORT"
- "SIMPLE_PRODUCT_SEARCH"
- "INTENT_REFINEMENT"
- "PRODUCT_DETAILS"
- "PRODUCT_COMPARISON"
- "DEALS_AND_COUPONS"
- "STORE_RELEVANT"
- "BLOCKLISTED"
- "BEST_PRODUCT"
- "RETAIL_SUPPORT"
- "DISABLED" clang-format off clang-format on
repeated string user_query_types = 10;
Returns | |
---|---|
Type | Description |
int |
The count of userQueryTypes. |
getUserQueryTypesList()
public abstract List<String> getUserQueryTypesList()
The types Retail classifies the search query as.
Supported values are:
- "ADVERSARIAL"
- "CHITCHAT"
- "JAILBREAK"
- "ORDER_SUPPORT"
- "SIMPLE_PRODUCT_SEARCH"
- "INTENT_REFINEMENT"
- "PRODUCT_DETAILS"
- "PRODUCT_COMPARISON"
- "DEALS_AND_COUPONS"
- "STORE_RELEVANT"
- "BLOCKLISTED"
- "BEST_PRODUCT"
- "RETAIL_SUPPORT"
- "DISABLED" clang-format off clang-format on
repeated string user_query_types = 10;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the userQueryTypes. |
hasConversationalFilteringResult()
public abstract boolean hasConversationalFilteringResult()
This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the conversationalFilteringResult field is set. |
hasFollowupQuestion()
public abstract boolean hasFollowupQuestion()
The conversational followup question generated for Intent refinement.
.google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the followupQuestion field is set. |