Class ConversationTurn.VirtualAgentOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn.VirtualAgentOutput.Builder
- All Implemented Interfaces:
ConversationTurn.VirtualAgentOutputOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversationTurn.VirtualAgentOutput
public static final class ConversationTurn.VirtualAgentOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
implements ConversationTurn.VirtualAgentOutputOrBuilder
The output from the virtual agent.Protobuf type
google.cloud.dialogflow.cx.v3beta1.ConversationTurn.VirtualAgentOutput-
Method Summary
Modifier and TypeMethodDescriptionaddAllDifferences(Iterable<? extends TestRunDifference> values) Output only.addAllTextResponses(Iterable<? extends ResponseMessage.Text> values) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.addDifferences(int index, TestRunDifference value) Output only.addDifferences(int index, TestRunDifference.Builder builderForValue) Output only.addDifferences(TestRunDifference value) Output only.addDifferences(TestRunDifference.Builder builderForValue) Output only.Output only.addDifferencesBuilder(int index) Output only.addTextResponses(int index, ResponseMessage.Text value) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.addTextResponses(int index, ResponseMessage.Text.Builder builderForValue) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.addTextResponses(ResponseMessage.Text.Builder builderForValue) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.addTextResponsesBuilder(int index) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.build()clear()The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.Required.Output only.The session parameters available to the bot at this point.Response error from the agent in the test result.The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructRequired.com.google.protobuf.Struct.BuilderRequired.com.google.protobuf.StructOrBuilderRequired.getDifferences(int index) Output only.getDifferencesBuilder(int index) Output only.Output only.intOutput only.Output only.getDifferencesOrBuilder(int index) Output only.List<? extends TestRunDifferenceOrBuilder>Output only.com.google.protobuf.StructThe session parameters available to the bot at this point.com.google.protobuf.Struct.BuilderThe session parameters available to the bot at this point.com.google.protobuf.StructOrBuilderThe session parameters available to the bot at this point.Response error from the agent in the test result.Response error from the agent in the test result.Response error from the agent in the test result.getTextResponses(int index) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.getTextResponsesBuilder(int index) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.intThe [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.getTextResponsesOrBuilder(int index) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.List<? extends ResponseMessage.TextOrBuilder>The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.booleanThe [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.booleanRequired.booleanThe session parameters available to the bot at this point.booleanResponse error from the agent in the test result.booleanThe [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCurrentPage(Page value) The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.mergeDiagnosticInfo(com.google.protobuf.Struct value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSessionParameters(com.google.protobuf.Struct value) The session parameters available to the bot at this point.mergeStatus(Status value) Response error from the agent in the test result.mergeTriggeredIntent(Intent value) The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.removeDifferences(int index) Output only.removeTextResponses(int index) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.setCurrentPage(Page value) The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.setCurrentPage(Page.Builder builderForValue) The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the utterance was spoken.setDiagnosticInfo(com.google.protobuf.Struct value) Required.setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue) Required.setDifferences(int index, TestRunDifference value) Output only.setDifferences(int index, TestRunDifference.Builder builderForValue) Output only.setSessionParameters(com.google.protobuf.Struct value) The session parameters available to the bot at this point.setSessionParameters(com.google.protobuf.Struct.Builder builderForValue) The session parameters available to the bot at this point.Response error from the agent in the test result.setStatus(Status.Builder builderForValue) Response error from the agent in the test result.setTextResponses(int index, ResponseMessage.Text value) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.setTextResponses(int index, ResponseMessage.Text.Builder builderForValue) The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text] responses from the agent for the turn.setTriggeredIntent(Intent value) The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.setTriggeredIntent(Intent.Builder builderForValue) The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered the response.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
mergeFrom
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(ConversationTurn.VirtualAgentOutput other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
mergeFrom
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder>- Throws:
IOException
-
hasSessionParameters
public boolean hasSessionParameters()The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;- Specified by:
hasSessionParametersin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the sessionParameters field is set.
-
getSessionParameters
public com.google.protobuf.Struct getSessionParameters()The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;- Specified by:
getSessionParametersin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The sessionParameters.
-
setSessionParameters
public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(com.google.protobuf.Struct value) The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4; -
setSessionParameters
public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(com.google.protobuf.Struct.Builder builderForValue) The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4; -
mergeSessionParameters
public ConversationTurn.VirtualAgentOutput.Builder mergeSessionParameters(com.google.protobuf.Struct value) The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4; -
clearSessionParameters
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4; -
getSessionParametersBuilder
public com.google.protobuf.Struct.Builder getSessionParametersBuilder()The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4; -
getSessionParametersOrBuilder
public com.google.protobuf.StructOrBuilder getSessionParametersOrBuilder()The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;- Specified by:
getSessionParametersOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
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];- Specified by:
getDifferencesListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getDifferencesCount
public 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];- Specified by:
getDifferencesCountin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getDifferences
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];- Specified by:
getDifferencesin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
setDifferences
public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference value) 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]; -
setDifferences
public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference.Builder builderForValue) 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]; -
addDifferences
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]; -
addDifferences
public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference value) 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]; -
addDifferences
public ConversationTurn.VirtualAgentOutput.Builder addDifferences(TestRunDifference.Builder builderForValue) 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]; -
addDifferences
public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference.Builder builderForValue) 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]; -
addAllDifferences
public ConversationTurn.VirtualAgentOutput.Builder addAllDifferences(Iterable<? extends TestRunDifference> values) 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]; -
clearDifferences
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]; -
removeDifferences
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]; -
getDifferencesBuilder
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
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];- Specified by:
getDifferencesOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
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];- Specified by:
getDifferencesOrBuilderListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
addDifferencesBuilder
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]; -
addDifferencesBuilder
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]; -
getDifferencesBuilderList
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
public 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];- Specified by:
hasDiagnosticInfoin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the diagnosticInfo field is set.
-
getDiagnosticInfo
public 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];- Specified by:
getDiagnosticInfoin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The diagnosticInfo.
-
setDiagnosticInfo
public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(com.google.protobuf.Struct value) 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]; -
setDiagnosticInfo
public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue) 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]; -
mergeDiagnosticInfo
public ConversationTurn.VirtualAgentOutput.Builder mergeDiagnosticInfo(com.google.protobuf.Struct value) 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]; -
clearDiagnosticInfo
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]; -
getDiagnosticInfoBuilder
public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder()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]; -
getDiagnosticInfoOrBuilder
public 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];- Specified by:
getDiagnosticInfoOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
hasTriggeredIntent
public 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;- Specified by:
hasTriggeredIntentin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the triggeredIntent field is set.
-
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;- Specified by:
getTriggeredIntentin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The triggeredIntent.
-
setTriggeredIntent
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; -
setTriggeredIntent
public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent.Builder builderForValue) 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; -
mergeTriggeredIntent
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; -
clearTriggeredIntent
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; -
getTriggeredIntentBuilder
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; -
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;- Specified by:
getTriggeredIntentOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
hasCurrentPage
public 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;- Specified by:
hasCurrentPagein interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the currentPage field is set.
-
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;- Specified by:
getCurrentPagein interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The currentPage.
-
setCurrentPage
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; -
setCurrentPage
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; -
mergeCurrentPage
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; -
clearCurrentPage
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; -
getCurrentPageBuilder
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; -
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;- Specified by:
getCurrentPageOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
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;- Specified by:
getTextResponsesListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponsesCount
public 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;- Specified by:
getTextResponsesCountin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponses
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;- Specified by:
getTextResponsesin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
setTextResponses
public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text value) 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; -
setTextResponses
public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text.Builder builderForValue) 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; -
addTextResponses
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; -
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text value) 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; -
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(ResponseMessage.Text.Builder builderForValue) 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; -
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text.Builder builderForValue) 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; -
addAllTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addAllTextResponses(Iterable<? extends ResponseMessage.Text> values) 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; -
clearTextResponses
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; -
removeTextResponses
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; -
getTextResponsesBuilder
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
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;- Specified by:
getTextResponsesOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
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;- Specified by:
getTextResponsesOrBuilderListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
addTextResponsesBuilder
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; -
addTextResponsesBuilder
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; -
getTextResponsesBuilderList
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
public boolean hasStatus()Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;- Specified by:
hasStatusin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;- Specified by:
getStatusin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The status.
-
setStatus
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10; -
setStatus
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10; -
mergeStatus
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10; -
clearStatus
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10; -
getStatusBuilder
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10; -
getStatusOrBuilder
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;- Specified by:
getStatusOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-