public static interface SearchRequest.ConversationalSearchSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getConversationId()
This field specifies the conversation id, which maintains the state of
the conversation between client side and server side.
|
com.google.protobuf.ByteString |
getConversationIdBytes()
This field specifies the conversation id, which maintains the state of
the conversation between client side and server side.
|
boolean |
getFollowupConversationRequested()
This field specifies whether the customer would like to do conversational
search.
|
SearchRequest.ConversationalSearchSpec.UserAnswer |
getUserAnswer()
This field specifies the current user answer during the conversational
search.
|
SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder |
getUserAnswerOrBuilder()
This field specifies the current user answer during the conversational
search.
|
boolean |
hasUserAnswer()
This field specifies the current user answer during the conversational
search.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getFollowupConversationRequested()
This field specifies whether the customer would like to do conversational search. If this field is set to true, conversational related extra information will be returned from server side, including follow-up question, answer options, etc.
bool followup_conversation_requested = 1;String getConversationId()
This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous [ConversationalSearchResult.conversation_id][]. For the initial request, this should be empty.
string conversation_id = 2;com.google.protobuf.ByteString getConversationIdBytes()
This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous [ConversationalSearchResult.conversation_id][]. For the initial request, this should be empty.
string conversation_id = 2;boolean hasUserAnswer()
This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer user_answer = 3;
SearchRequest.ConversationalSearchSpec.UserAnswer getUserAnswer()
This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer user_answer = 3;
SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder getUserAnswerOrBuilder()
This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer user_answer = 3;
Copyright © 2025 Google LLC. All rights reserved.