Interface ConversationTurn.VirtualAgentOutputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationTurn.VirtualAgentOutput,ConversationTurn.VirtualAgentOutput.Builder
- Enclosing class:
- ConversationTurn
public static interface ConversationTurn.VirtualAgentOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PagegetCurrentPage()The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.PageOrBuildergetCurrentPageOrBuilder()The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.com.google.protobuf.StructgetDiagnosticInfo()Required.com.google.protobuf.StructOrBuildergetDiagnosticInfoOrBuilder()Required.TestRunDifferencegetDifferences(int index)Output only.intgetDifferencesCount()Output only.List<TestRunDifference>getDifferencesList()Output only.TestRunDifferenceOrBuildergetDifferencesOrBuilder(int index)Output only.List<? extends TestRunDifferenceOrBuilder>getDifferencesOrBuilderList()Output only.com.google.protobuf.StructgetSessionParameters()The session parameters available to the bot at this point.com.google.protobuf.StructOrBuildergetSessionParametersOrBuilder()The session parameters available to the bot at this point.com.google.rpc.StatusgetStatus()Response error from the agent in the test result.com.google.rpc.StatusOrBuildergetStatusOrBuilder()Response error from the agent in the test result.ResponseMessage.TextgetTextResponses(int index)The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.intgetTextResponsesCount()The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.List<ResponseMessage.Text>getTextResponsesList()The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.ResponseMessage.TextOrBuildergetTextResponsesOrBuilder(int index)The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.List<? extends ResponseMessage.TextOrBuilder>getTextResponsesOrBuilderList()The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.IntentgetTriggeredIntent()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.IntentOrBuildergetTriggeredIntentOrBuilder()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.booleanhasCurrentPage()The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.booleanhasDiagnosticInfo()Required.booleanhasSessionParameters()The session parameters available to the bot at this point.booleanhasStatus()Response error from the agent in the test result.booleanhasTriggeredIntent()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSessionParameters
boolean hasSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;- Returns:
- Whether the sessionParameters field is set.
-
getSessionParameters
com.google.protobuf.Struct getSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;- Returns:
- The sessionParameters.
-
getSessionParametersOrBuilder
com.google.protobuf.StructOrBuilder getSessionParametersOrBuilder()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
-
getDifferencesList
List<TestRunDifference> getDifferencesList()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDifferences
TestRunDifference getDifferences(int index)
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDifferencesCount
int getDifferencesCount()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDifferencesOrBuilderList
List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDifferencesOrBuilder
TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasDiagnosticInfo
boolean hasDiagnosticInfo()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Returns:
- Whether the diagnosticInfo field is set.
-
getDiagnosticInfo
com.google.protobuf.Struct getDiagnosticInfo()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];- Returns:
- The diagnosticInfo.
-
getDiagnosticInfoOrBuilder
com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
-
hasTriggeredIntent
boolean hasTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;- Returns:
- Whether the triggeredIntent field is set.
-
getTriggeredIntent
Intent getTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;- Returns:
- The triggeredIntent.
-
getTriggeredIntentOrBuilder
IntentOrBuilder getTriggeredIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
-
hasCurrentPage
boolean hasCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
Page getCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;- Returns:
- The currentPage.
-
getCurrentPageOrBuilder
PageOrBuilder getCurrentPageOrBuilder()
The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
-
getTextResponsesList
List<ResponseMessage.Text> getTextResponsesList()
The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
-
getTextResponses
ResponseMessage.Text getTextResponses(int index)
The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
-
getTextResponsesCount
int getTextResponsesCount()
The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
-
getTextResponsesOrBuilderList
List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
-
getTextResponsesOrBuilder
ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
-
hasStatus
boolean hasStatus()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;- Returns:
- Whether the status field is set.
-
getStatus
com.google.rpc.Status getStatus()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;- Returns:
- The status.
-
getStatusOrBuilder
com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
-