public static interface Conversation.InteractionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnswerFeedback()
public abstract AnswerFeedback getAnswerFeedback()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
| Returns | |
|---|---|
| Type | Description |
AnswerFeedback |
The answerFeedback. |
getAnswerFeedbackOrBuilder()
public abstract AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
| Returns | |
|---|---|
| Type | Description |
AnswerFeedbackOrBuilder |
|
getCreateTime()
public abstract Timestamp getCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getMissingTransition()
public abstract 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 | |
|---|---|
| Type | Description |
Conversation.Interaction.MissingTransition |
The missingTransition. |
getMissingTransitionOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
Conversation.Interaction.MissingTransitionOrBuilder |
|
getPartialResponses(int index)
public abstract DetectIntentResponse getPartialResponses(int index)The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponse |
|
getPartialResponsesCount()
public abstract int getPartialResponsesCount()The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPartialResponsesList()
public abstract List<DetectIntentResponse> getPartialResponsesList()The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
| Returns | |
|---|---|
| Type | Description |
List<DetectIntentResponse> |
|
getPartialResponsesOrBuilder(int index)
public abstract DetectIntentResponseOrBuilder getPartialResponsesOrBuilder(int index)The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponseOrBuilder |
|
getPartialResponsesOrBuilderList()
public abstract 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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> |
|
getRequest()
public abstract DetectIntentRequest getRequest()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
| Returns | |
|---|---|
| Type | Description |
DetectIntentRequest |
The request. |
getRequestOrBuilder()
public abstract DetectIntentRequestOrBuilder getRequestOrBuilder()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
| Returns | |
|---|---|
| Type | Description |
DetectIntentRequestOrBuilder |
|
getRequestUtterances()
public abstract String getRequestUtterances()The input text or the transcript of the input audio in the request.
string request_utterances = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The requestUtterances. |
getRequestUtterancesBytes()
public abstract ByteString getRequestUtterancesBytes()The input text or the transcript of the input audio in the request.
string request_utterances = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestUtterances. |
getResponse()
public abstract DetectIntentResponse getResponse()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponse |
The response. |
getResponseOrBuilder()
public abstract DetectIntentResponseOrBuilder getResponseOrBuilder()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponseOrBuilder |
|
getResponseUtterances()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The responseUtterances. |
getResponseUtterancesBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for responseUtterances. |
getStepMetrics(int index)
public abstract Conversation.Interaction.StepMetrics getStepMetrics(int index)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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Conversation.Interaction.StepMetrics |
|
getStepMetricsCount()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getStepMetricsList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
List<StepMetrics> |
|
getStepMetricsOrBuilder(int index)
public abstract Conversation.Interaction.StepMetricsOrBuilder getStepMetricsOrBuilder(int index)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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Conversation.Interaction.StepMetricsOrBuilder |
|
getStepMetricsOrBuilderList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetricsOrBuilder> |
|
hasAnswerFeedback()
public abstract boolean hasAnswerFeedback()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the answerFeedback field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasMissingTransition()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the missingTransition field is set. |
hasRequest()
public abstract boolean hasRequest()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the request field is set. |
hasResponse()
public abstract boolean hasResponse()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the response field is set. |