public static interface SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer |
getSelectedAnswer()
This field specifies the selected attributes during the
conversational search.
|
SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder |
getSelectedAnswerOrBuilder()
This field specifies the selected attributes during the
conversational search.
|
String |
getTextAnswer()
This field specifies the incremental input text from the user during
the conversational search.
|
com.google.protobuf.ByteString |
getTextAnswerBytes()
This field specifies the incremental input text from the user during
the conversational search.
|
SearchRequest.ConversationalSearchSpec.UserAnswer.TypeCase |
getTypeCase() |
boolean |
hasSelectedAnswer()
This field specifies the selected attributes during the
conversational search.
|
boolean |
hasTextAnswer()
This field specifies the incremental input text from the user during
the conversational search.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTextAnswer()
This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;String getTextAnswer()
This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;com.google.protobuf.ByteString getTextAnswerBytes()
This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;boolean hasSelectedAnswer()
This field specifies the selected attributes during the conversational search. This should be a subset of [ConversationalSearchResult.suggested_answers][].
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer getSelectedAnswer()
This field specifies the selected attributes during the conversational search. This should be a subset of [ConversationalSearchResult.suggested_answers][].
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder getSelectedAnswerOrBuilder()
This field specifies the selected attributes during the conversational search. This should be a subset of [ConversationalSearchResult.suggested_answers][].
.google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
SearchRequest.ConversationalSearchSpec.UserAnswer.TypeCase getTypeCase()
Copyright © 2025 Google LLC. All rights reserved.