Class ConversationTurn.VirtualAgentOutput.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
- com.google.cloud.dialogflow.cx.v3.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.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder> implements ConversationTurn.VirtualAgentOutputOrBuilder
The output from the virtual agent.
Protobuf typegoogle.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationTurn.VirtualAgentOutput.BuilderaddAllDifferences(Iterable<? extends TestRunDifference> values)Output only.ConversationTurn.VirtualAgentOutput.BuilderaddAllTextResponses(Iterable<? extends ResponseMessage.Text> values)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuilderaddDifferences(int index, TestRunDifference value)Output only.ConversationTurn.VirtualAgentOutput.BuilderaddDifferences(int index, TestRunDifference.Builder builderForValue)Output only.ConversationTurn.VirtualAgentOutput.BuilderaddDifferences(TestRunDifference value)Output only.ConversationTurn.VirtualAgentOutput.BuilderaddDifferences(TestRunDifference.Builder builderForValue)Output only.TestRunDifference.BuilderaddDifferencesBuilder()Output only.TestRunDifference.BuilderaddDifferencesBuilder(int index)Output only.ConversationTurn.VirtualAgentOutput.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationTurn.VirtualAgentOutput.BuilderaddTextResponses(int index, ResponseMessage.Text value)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuilderaddTextResponses(int index, ResponseMessage.Text.Builder builderForValue)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuilderaddTextResponses(ResponseMessage.Text value)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuilderaddTextResponses(ResponseMessage.Text.Builder builderForValue)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ResponseMessage.Text.BuilderaddTextResponsesBuilder()The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ResponseMessage.Text.BuilderaddTextResponsesBuilder(int index)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutputbuild()ConversationTurn.VirtualAgentOutputbuildPartial()ConversationTurn.VirtualAgentOutput.Builderclear()ConversationTurn.VirtualAgentOutput.BuilderclearCurrentPage()The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.ConversationTurn.VirtualAgentOutput.BuilderclearDiagnosticInfo()Required.ConversationTurn.VirtualAgentOutput.BuilderclearDifferences()Output only.ConversationTurn.VirtualAgentOutput.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversationTurn.VirtualAgentOutput.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversationTurn.VirtualAgentOutput.BuilderclearSessionParameters()The session parameters available to the bot at this point.ConversationTurn.VirtualAgentOutput.BuilderclearStatus()Response error from the agent in the test result.ConversationTurn.VirtualAgentOutput.BuilderclearTextResponses()The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuilderclearTriggeredIntent()The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.ConversationTurn.VirtualAgentOutput.Builderclone()PagegetCurrentPage()The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.Page.BuildergetCurrentPageBuilder()The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.PageOrBuildergetCurrentPageOrBuilder()The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.ConversationTurn.VirtualAgentOutputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StructgetDiagnosticInfo()Required.com.google.protobuf.Struct.BuildergetDiagnosticInfoBuilder()Required.com.google.protobuf.StructOrBuildergetDiagnosticInfoOrBuilder()Required.TestRunDifferencegetDifferences(int index)Output only.TestRunDifference.BuildergetDifferencesBuilder(int index)Output only.List<TestRunDifference.Builder>getDifferencesBuilderList()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.Struct.BuildergetSessionParametersBuilder()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.Status.BuildergetStatusBuilder()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.v3.ResponseMessage.Text] responses from the agent for the turn.ResponseMessage.Text.BuildergetTextResponsesBuilder(int index)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.List<ResponseMessage.Text.Builder>getTextResponsesBuilderList()The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.intgetTextResponsesCount()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.TextOrBuildergetTextResponsesOrBuilder(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.IntentgetTriggeredIntent()The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.Intent.BuildergetTriggeredIntentBuilder()The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.IntentOrBuildergetTriggeredIntentOrBuilder()The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.booleanhasCurrentPage()The [Page][google.cloud.dialogflow.cx.v3.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.v3.Intent] that triggered the response.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConversationTurn.VirtualAgentOutput.BuildermergeCurrentPage(Page value)The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.ConversationTurn.VirtualAgentOutput.BuildermergeDiagnosticInfo(com.google.protobuf.Struct value)Required.ConversationTurn.VirtualAgentOutput.BuildermergeFrom(ConversationTurn.VirtualAgentOutput other)ConversationTurn.VirtualAgentOutput.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversationTurn.VirtualAgentOutput.BuildermergeFrom(com.google.protobuf.Message other)ConversationTurn.VirtualAgentOutput.BuildermergeSessionParameters(com.google.protobuf.Struct value)The session parameters available to the bot at this point.ConversationTurn.VirtualAgentOutput.BuildermergeStatus(com.google.rpc.Status value)Response error from the agent in the test result.ConversationTurn.VirtualAgentOutput.BuildermergeTriggeredIntent(Intent value)The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.ConversationTurn.VirtualAgentOutput.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversationTurn.VirtualAgentOutput.BuilderremoveDifferences(int index)Output only.ConversationTurn.VirtualAgentOutput.BuilderremoveTextResponses(int index)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuildersetCurrentPage(Page value)The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.ConversationTurn.VirtualAgentOutput.BuildersetCurrentPage(Page.Builder builderForValue)The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken.ConversationTurn.VirtualAgentOutput.BuildersetDiagnosticInfo(com.google.protobuf.Struct value)Required.ConversationTurn.VirtualAgentOutput.BuildersetDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue)Required.ConversationTurn.VirtualAgentOutput.BuildersetDifferences(int index, TestRunDifference value)Output only.ConversationTurn.VirtualAgentOutput.BuildersetDifferences(int index, TestRunDifference.Builder builderForValue)Output only.ConversationTurn.VirtualAgentOutput.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationTurn.VirtualAgentOutput.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConversationTurn.VirtualAgentOutput.BuildersetSessionParameters(com.google.protobuf.Struct value)The session parameters available to the bot at this point.ConversationTurn.VirtualAgentOutput.BuildersetSessionParameters(com.google.protobuf.Struct.Builder builderForValue)The session parameters available to the bot at this point.ConversationTurn.VirtualAgentOutput.BuildersetStatus(com.google.rpc.Status value)Response error from the agent in the test result.ConversationTurn.VirtualAgentOutput.BuildersetStatus(com.google.rpc.Status.Builder builderForValue)Response error from the agent in the test result.ConversationTurn.VirtualAgentOutput.BuildersetTextResponses(int index, ResponseMessage.Text value)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuildersetTextResponses(int index, ResponseMessage.Text.Builder builderForValue)The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.ConversationTurn.VirtualAgentOutput.BuildersetTriggeredIntent(Intent value)The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.ConversationTurn.VirtualAgentOutput.BuildersetTriggeredIntent(Intent.Builder builderForValue)The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response.ConversationTurn.VirtualAgentOutput.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
getDefaultInstanceForType
public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversationTurn.VirtualAgentOutput build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversationTurn.VirtualAgentOutput buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversationTurn.VirtualAgentOutput.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
setField
public ConversationTurn.VirtualAgentOutput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
clearField
public ConversationTurn.VirtualAgentOutput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
clearOneof
public ConversationTurn.VirtualAgentOutput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
setRepeatedField
public ConversationTurn.VirtualAgentOutput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
addRepeatedField
public ConversationTurn.VirtualAgentOutput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
mergeFrom
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(com.google.protobuf.Message other)
- 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.GeneratedMessageV3.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
public ConversationTurn.VirtualAgentOutput.Builder 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
public 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];- 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDifferencesCountin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getDifferences
public 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];- 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.v3.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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDifferences
public ConversationTurn.VirtualAgentOutput.Builder addDifferences(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.v3.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.v3.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.v3.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.v3.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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDifferences
public ConversationTurn.VirtualAgentOutput.Builder 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeDifferences
public ConversationTurn.VirtualAgentOutput.Builder removeDifferences(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];
-
getDifferencesBuilder
public TestRunDifference.Builder getDifferencesBuilder(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];
-
getDifferencesOrBuilder
public 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];- Specified by:
getDifferencesOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getDifferencesOrBuilderList
public 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];- Specified by:
getDifferencesOrBuilderListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
addDifferencesBuilder
public TestRunDifference.Builder 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDifferencesBuilder
public TestRunDifference.Builder addDifferencesBuilder(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];
-
getDifferencesBuilderList
public List<TestRunDifference.Builder> 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.v3.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
public ConversationTurn.VirtualAgentOutput.Builder 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.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;- Specified by:
hasTriggeredIntentin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the triggeredIntent field is set.
-
getTriggeredIntent
public 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;- Specified by:
getTriggeredIntentin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The triggeredIntent.
-
setTriggeredIntent
public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent value)
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;
-
setTriggeredIntent
public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent.Builder builderForValue)
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;
-
mergeTriggeredIntent
public ConversationTurn.VirtualAgentOutput.Builder mergeTriggeredIntent(Intent value)
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;
-
clearTriggeredIntent
public ConversationTurn.VirtualAgentOutput.Builder clearTriggeredIntent()
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;
-
getTriggeredIntentBuilder
public Intent.Builder getTriggeredIntentBuilder()
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;
-
getTriggeredIntentOrBuilder
public 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;- Specified by:
getTriggeredIntentOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
hasCurrentPage
public 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;- Specified by:
hasCurrentPagein interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- Whether the currentPage field is set.
-
getCurrentPage
public 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;- Specified by:
getCurrentPagein interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The currentPage.
-
setCurrentPage
public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page value)
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;
-
setCurrentPage
public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page.Builder builderForValue)
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;
-
mergeCurrentPage
public ConversationTurn.VirtualAgentOutput.Builder mergeCurrentPage(Page value)
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;
-
clearCurrentPage
public ConversationTurn.VirtualAgentOutput.Builder clearCurrentPage()
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;
-
getCurrentPageBuilder
public Page.Builder getCurrentPageBuilder()
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;
-
getCurrentPageOrBuilder
public 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;- Specified by:
getCurrentPageOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponsesList
public 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;- Specified by:
getTextResponsesListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponsesCount
public 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;- Specified by:
getTextResponsesCountin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponses
public 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;- Specified by:
getTextResponsesin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
setTextResponses
public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text value)
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;
-
setTextResponses
public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text.Builder builderForValue)
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;
-
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(ResponseMessage.Text value)
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;
-
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text value)
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;
-
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(ResponseMessage.Text.Builder builderForValue)
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;
-
addTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text.Builder builderForValue)
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;
-
addAllTextResponses
public ConversationTurn.VirtualAgentOutput.Builder addAllTextResponses(Iterable<? extends ResponseMessage.Text> values)
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;
-
clearTextResponses
public ConversationTurn.VirtualAgentOutput.Builder clearTextResponses()
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;
-
removeTextResponses
public ConversationTurn.VirtualAgentOutput.Builder removeTextResponses(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;
-
getTextResponsesBuilder
public ResponseMessage.Text.Builder getTextResponsesBuilder(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;
-
getTextResponsesOrBuilder
public 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;- Specified by:
getTextResponsesOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
getTextResponsesOrBuilderList
public 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;- Specified by:
getTextResponsesOrBuilderListin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
addTextResponsesBuilder
public ResponseMessage.Text.Builder addTextResponsesBuilder()
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;
-
addTextResponsesBuilder
public ResponseMessage.Text.Builder addTextResponsesBuilder(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;
-
getTextResponsesBuilderList
public List<ResponseMessage.Text.Builder> getTextResponsesBuilderList()
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
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
public 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;- Specified by:
getStatusin interfaceConversationTurn.VirtualAgentOutputOrBuilder- Returns:
- The status.
-
setStatus
public ConversationTurn.VirtualAgentOutput.Builder setStatus(com.google.rpc.Status value)
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
setStatus
public ConversationTurn.VirtualAgentOutput.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
mergeStatus
public ConversationTurn.VirtualAgentOutput.Builder mergeStatus(com.google.rpc.Status value)
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
clearStatus
public ConversationTurn.VirtualAgentOutput.Builder clearStatus()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
getStatusBuilder
public com.google.rpc.Status.Builder getStatusBuilder()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;
-
getStatusOrBuilder
public 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;- Specified by:
getStatusOrBuilderin interfaceConversationTurn.VirtualAgentOutputOrBuilder
-
setUnknownFields
public final ConversationTurn.VirtualAgentOutput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
mergeUnknownFields
public final ConversationTurn.VirtualAgentOutput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder>
-
-