Package com.google.cloud.retail.v2alpha
Interface ConversationalSearchRequest.UserAnswerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationalSearchRequest.UserAnswer,ConversationalSearchRequest.UserAnswer.Builder
- Enclosing class:
- ConversationalSearchRequest
public static interface ConversationalSearchRequest.UserAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.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.booleanOptional.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()Optional. This field specifies the selected answer during the conversational search. This should be a subset of [ConversationalSearchResponse.followup_question.suggested_answers][].
.google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the selectedAnswer field is set.
-
getSelectedAnswer
ConversationalSearchRequest.UserAnswer.SelectedAnswer getSelectedAnswer()Optional. This field specifies the selected answer during the conversational search. This should be a subset of [ConversationalSearchResponse.followup_question.suggested_answers][].
.google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The selectedAnswer.
-
getSelectedAnswerOrBuilder
ConversationalSearchRequest.UserAnswer.SelectedAnswerOrBuilder getSelectedAnswerOrBuilder()Optional. This field specifies the selected answer during the conversational search. This should be a subset of [ConversationalSearchResponse.followup_question.suggested_answers][].
.google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getTypeCase
ConversationalSearchRequest.UserAnswer.TypeCase getTypeCase()
-