Package com.google.cloud.retail.v2alpha
Interface SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest.ConversationalSearchSpec.UserAnswer,SearchRequest.ConversationalSearchSpec.UserAnswer.Builder
- Enclosing class:
- SearchRequest.ConversationalSearchSpec
public static interface SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis field specifies the selected attributes during the conversational search.This field specifies the selected attributes during the conversational search.This field specifies the incremental input text from the user during the conversational search.com.google.protobuf.ByteStringThis field specifies the incremental input text from the user during the conversational search.booleanThis field specifies the selected attributes during the conversational search.booleanThis field specifies the incremental input text from the user during the conversational search.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTextAnswer
boolean hasTextAnswer()This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;- Returns:
- Whether the textAnswer field is set.
-
getTextAnswer
String getTextAnswer()This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;- Returns:
- The textAnswer.
-
getTextAnswerBytes
com.google.protobuf.ByteString getTextAnswerBytes()This field specifies the incremental input text from the user during the conversational search.
string text_answer = 1;- Returns:
- The bytes for textAnswer.
-
hasSelectedAnswer
boolean hasSelectedAnswer()This field specifies the selected attributes during the conversational search. This should be a subset of [ConversationalSearchResult.suggested_answers][].
.google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;- Returns:
- Whether the selectedAnswer field is set.
-
getSelectedAnswer
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.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;- Returns:
- The selectedAnswer.
-
getSelectedAnswerOrBuilder
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.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2; -
getTypeCase
-