Interface Conversation.InteractionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Conversation.Interaction,Conversation.Interaction.Builder
- Enclosing class:
- Conversation
public static interface Conversation.InteractionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAnswer feedback for the final response.Answer feedback for the final response.com.google.protobuf.TimestampThe time that the interaction was created.com.google.protobuf.TimestampOrBuilderThe time that the interaction was created.Missing transition predicted for the interaction.Missing transition predicted for the interaction.getPartialResponses(int index) The partial responses of the interaction.intThe partial responses of the interaction.The partial responses of the interaction.getPartialResponsesOrBuilder(int index) The partial responses of the interaction.List<? extends DetectIntentResponseOrBuilder>The partial responses of the interaction.The request of the interaction.The request of the interaction.The input text or the transcript of the input audio in the request.com.google.protobuf.ByteStringThe input text or the transcript of the input audio in the request.The final response of the interaction.The final response of the interaction.The output text or the transcript of the output audio in the responses.com.google.protobuf.ByteStringThe output text or the transcript of the output audio in the responses.getStepMetrics(int index) Metrics associated with different processing steps.intMetrics associated with different processing steps.Metrics associated with different processing steps.getStepMetricsOrBuilder(int index) Metrics associated with different processing steps.Metrics associated with different processing steps.booleanAnswer feedback for the final response.booleanThe time that the interaction was created.booleanMissing transition predicted for the interaction.booleanThe request of the interaction.booleanThe final response of the interaction.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
-
hasRequest
boolean hasRequest()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;- Returns:
- Whether the request field is set.
-
getRequest
DetectIntentRequest getRequest()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;- Returns:
- The request.
-
getRequestOrBuilder
DetectIntentRequestOrBuilder getRequestOrBuilder()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
hasResponse
boolean hasResponse()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;- Returns:
- Whether the response field is set.
-
getResponse
DetectIntentResponse getResponse()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;- Returns:
- The response.
-
getResponseOrBuilder
DetectIntentResponseOrBuilder getResponseOrBuilder()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
getPartialResponsesList
List<DetectIntentResponse> getPartialResponsesList()The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; -
getPartialResponses
The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; -
getPartialResponsesCount
int getPartialResponsesCount()The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; -
getPartialResponsesOrBuilderList
List<? extends DetectIntentResponseOrBuilder> getPartialResponsesOrBuilderList()The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; -
getPartialResponsesOrBuilder
The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; -
getRequestUtterances
String getRequestUtterances()The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Returns:
- The requestUtterances.
-
getRequestUtterancesBytes
com.google.protobuf.ByteString getRequestUtterancesBytes()The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Returns:
- The bytes for requestUtterances.
-
getResponseUtterances
String getResponseUtterances()The output text or the transcript of the output audio in the responses. If multiple output messages are returned, they will be concatenated into one.
string response_utterances = 5;- Returns:
- The responseUtterances.
-
getResponseUtterancesBytes
com.google.protobuf.ByteString getResponseUtterancesBytes()The output text or the transcript of the output audio in the responses. If multiple output messages are returned, they will be concatenated into one.
string response_utterances = 5;- Returns:
- The bytes for responseUtterances.
-
hasCreateTime
boolean hasCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
hasAnswerFeedback
boolean hasAnswerFeedback()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;- Returns:
- Whether the answerFeedback field is set.
-
getAnswerFeedback
AnswerFeedback getAnswerFeedback()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;- Returns:
- The answerFeedback.
-
getAnswerFeedbackOrBuilder
AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
hasMissingTransition
boolean hasMissingTransition()Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;- Returns:
- Whether the missingTransition field is set.
-
getMissingTransition
Conversation.Interaction.MissingTransition getMissingTransition()Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;- Returns:
- The missingTransition.
-
getMissingTransitionOrBuilder
Conversation.Interaction.MissingTransitionOrBuilder getMissingTransitionOrBuilder()Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; -
getStepMetricsList
List<Conversation.Interaction.StepMetrics> getStepMetricsList()Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9; -
getStepMetrics
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9; -
getStepMetricsCount
int getStepMetricsCount()Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9; -
getStepMetricsOrBuilderList
List<? extends Conversation.Interaction.StepMetricsOrBuilder> getStepMetricsOrBuilderList()Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9; -
getStepMetricsOrBuilder
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
-