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 Page
getCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.PageOrBuilder
getCurrentPageOrBuilder()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.com.google.protobuf.Struct
getDiagnosticInfo()
Required.com.google.protobuf.StructOrBuilder
getDiagnosticInfoOrBuilder()
Required.TestRunDifference
getDifferences(int index)
Output only.int
getDifferencesCount()
Output only.List<TestRunDifference>
getDifferencesList()
Output only.TestRunDifferenceOrBuilder
getDifferencesOrBuilder(int index)
Output only.List<? extends TestRunDifferenceOrBuilder>
getDifferencesOrBuilderList()
Output only.com.google.protobuf.Struct
getSessionParameters()
The session parameters available to the bot at this point.com.google.protobuf.StructOrBuilder
getSessionParametersOrBuilder()
The session parameters available to the bot at this point.com.google.rpc.Status
getStatus()
Response error from the agent in the test result.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
Response error from the agent in the test result.ResponseMessage.Text
getTextResponses(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.int
getTextResponsesCount()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.List<ResponseMessage.Text>
getTextResponsesList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ResponseMessage.TextOrBuilder
getTextResponsesOrBuilder(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.List<? extends ResponseMessage.TextOrBuilder>
getTextResponsesOrBuilderList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.Intent
getTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.IntentOrBuilder
getTriggeredIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.boolean
hasCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.boolean
hasDiagnosticInfo()
Required.boolean
hasSessionParameters()
The session parameters available to the bot at this point.boolean
hasStatus()
Response error from the agent in the test result.boolean
hasTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;
- Returns:
- Whether the triggeredIntent field is set.
-
getTriggeredIntent
Intent getTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;
- Returns:
- The triggeredIntent.
-
getTriggeredIntentOrBuilder
IntentOrBuilder getTriggeredIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;
-
hasCurrentPage
boolean hasCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;
- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
Page getCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;
- Returns:
- The currentPage.
-
getCurrentPageOrBuilder
PageOrBuilder getCurrentPageOrBuilder()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;
-
getTextResponsesList
List<ResponseMessage.Text> getTextResponsesList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;
-
getTextResponses
ResponseMessage.Text getTextResponses(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;
-
getTextResponsesCount
int getTextResponsesCount()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;
-
getTextResponsesOrBuilderList
List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;
-
getTextResponsesOrBuilder
ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.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;
-
-