Class ConversationTurn.VirtualAgentOutput.Builder (0.14.2)

public static final class ConversationTurn.VirtualAgentOutput.Builder extends GeneratedMessageV3.Builder<ConversationTurn.VirtualAgentOutput.Builder> implements ConversationTurn.VirtualAgentOutputOrBuilder

The output from the virtual agent.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ConversationTurn.VirtualAgentOutput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDifferences(Iterable<? extends TestRunDifference> values)

public ConversationTurn.VirtualAgentOutput.Builder addAllDifferences(Iterable<? extends TestRunDifference> values)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestRunDifference>
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addAllTextResponses(Iterable<? extends ResponseMessage.Text> values)

public ConversationTurn.VirtualAgentOutput.Builder addAllTextResponses(Iterable<? extends ResponseMessage.Text> values)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text>
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addDifferences(TestRunDifference value)

public ConversationTurn.VirtualAgentOutput.Builder addDifferences(TestRunDifference value)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
valueTestRunDifference
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addDifferences(TestRunDifference.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder addDifferences(TestRunDifference.Builder builderForValue)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
builderForValueTestRunDifference.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addDifferences(int index, TestRunDifference value)

public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference value)

Output only. If this is part of a result conversation turn, 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];

Parameters
NameDescription
indexint
valueTestRunDifference
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addDifferences(int index, TestRunDifference.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference.Builder builderForValue)

Output only. If this is part of a result conversation turn, 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];

Parameters
NameDescription
indexint
builderForValueTestRunDifference.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addDifferencesBuilder()

public TestRunDifference.Builder addDifferencesBuilder()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
TestRunDifference.Builder

addDifferencesBuilder(int index)

public TestRunDifference.Builder addDifferencesBuilder(int index)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
TestRunDifference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationTurn.VirtualAgentOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

addTextResponses(ResponseMessage.Text value)

public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(ResponseMessage.Text value)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
valueResponseMessage.Text
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addTextResponses(ResponseMessage.Text.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(ResponseMessage.Text.Builder builderForValue)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
builderForValueResponseMessage.Text.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addTextResponses(int index, ResponseMessage.Text value)

public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text value)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameters
NameDescription
indexint
valueResponseMessage.Text
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addTextResponses(int index, ResponseMessage.Text.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text.Builder builderForValue)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameters
NameDescription
indexint
builderForValueResponseMessage.Text.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

addTextResponsesBuilder()

public ResponseMessage.Text.Builder addTextResponsesBuilder()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
ResponseMessage.Text.Builder

addTextResponsesBuilder(int index)

public ResponseMessage.Text.Builder addTextResponsesBuilder(int index)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.Text.Builder

build()

public ConversationTurn.VirtualAgentOutput build()
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput

buildPartial()

public ConversationTurn.VirtualAgentOutput buildPartial()
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput

clear()

public ConversationTurn.VirtualAgentOutput.Builder clear()
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

clearCurrentPage()

public ConversationTurn.VirtualAgentOutput.Builder clearCurrentPage()

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clearDiagnosticInfo()

public ConversationTurn.VirtualAgentOutput.Builder clearDiagnosticInfo()

Required. Input only. The 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
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clearDifferences()

public ConversationTurn.VirtualAgentOutput.Builder clearDifferences()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clearField(Descriptors.FieldDescriptor field)

public ConversationTurn.VirtualAgentOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationTurn.VirtualAgentOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

clearSessionParameters()

public ConversationTurn.VirtualAgentOutput.Builder clearSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

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;

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clearTextResponses()

public ConversationTurn.VirtualAgentOutput.Builder clearTextResponses()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clearTriggeredIntent()

public ConversationTurn.VirtualAgentOutput.Builder clearTriggeredIntent()

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

clone()

public ConversationTurn.VirtualAgentOutput.Builder clone()
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

getCurrentPage()

public Page getCurrentPage()

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Returns
TypeDescription
Page

The currentPage.

getCurrentPageBuilder()

public Page.Builder getCurrentPageBuilder()

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Returns
TypeDescription
Page.Builder

getCurrentPageOrBuilder()

public PageOrBuilder getCurrentPageOrBuilder()

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Returns
TypeDescription
PageOrBuilder

getDefaultInstanceForType()

public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiagnosticInfo()

public Struct getDiagnosticInfo()

Required. Input only. The 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
TypeDescription
Struct

The diagnosticInfo.

getDiagnosticInfoBuilder()

public Struct.Builder getDiagnosticInfoBuilder()

Required. Input only. The 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
TypeDescription
Builder

getDiagnosticInfoOrBuilder()

public StructOrBuilder getDiagnosticInfoOrBuilder()

Required. Input only. The 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
TypeDescription
StructOrBuilder

getDifferences(int index)

public TestRunDifference getDifferences(int index)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
TestRunDifference

getDifferencesBuilder(int index)

public TestRunDifference.Builder getDifferencesBuilder(int index)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
TestRunDifference.Builder

getDifferencesBuilderList()

public List<TestRunDifference.Builder> getDifferencesBuilderList()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
List<Builder>

getDifferencesCount()

public int getDifferencesCount()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
int

getDifferencesList()

public List<TestRunDifference> getDifferencesList()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
List<TestRunDifference>

getDifferencesOrBuilder(int index)

public TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
TestRunDifferenceOrBuilder

getDifferencesOrBuilderList()

public List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()

Output only. If this is part of a result conversation turn, 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];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestRunDifferenceOrBuilder>

getSessionParameters()

public Struct getSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
Struct

The sessionParameters.

getSessionParametersBuilder()

public Struct.Builder getSessionParametersBuilder()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
Builder

getSessionParametersOrBuilder()

public StructOrBuilder getSessionParametersOrBuilder()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
StructOrBuilder

getStatus()

public Status getStatus()

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTextResponses(int index)

public ResponseMessage.Text getTextResponses(int index)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.Text

getTextResponsesBuilder(int index)

public ResponseMessage.Text.Builder getTextResponsesBuilder(int index)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.Text.Builder

getTextResponsesBuilderList()

public List<ResponseMessage.Text.Builder> getTextResponsesBuilderList()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
List<Builder>

getTextResponsesCount()

public int getTextResponsesCount()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
int

getTextResponsesList()

public List<ResponseMessage.Text> getTextResponsesList()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
List<Text>

getTextResponsesOrBuilder(int index)

public ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.TextOrBuilder

getTextResponsesOrBuilderList()

public List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TextOrBuilder>

getTriggeredIntent()

public Intent getTriggeredIntent()

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
Intent

The triggeredIntent.

getTriggeredIntentBuilder()

public Intent.Builder getTriggeredIntentBuilder()

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
Intent.Builder

getTriggeredIntentOrBuilder()

public IntentOrBuilder getTriggeredIntentOrBuilder()

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
IntentOrBuilder

hasCurrentPage()

public boolean hasCurrentPage()

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Returns
TypeDescription
boolean

Whether the currentPage field is set.

hasDiagnosticInfo()

public boolean hasDiagnosticInfo()

Required. Input only. The 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
TypeDescription
boolean

Whether the diagnosticInfo field is set.

hasSessionParameters()

public boolean hasSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
boolean

Whether the sessionParameters field is set.

hasStatus()

public boolean hasStatus()

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Returns
TypeDescription
boolean

Whether the status field is set.

hasTriggeredIntent()

public boolean hasTriggeredIntent()

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
boolean

Whether the triggeredIntent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCurrentPage(Page value)

public ConversationTurn.VirtualAgentOutput.Builder mergeCurrentPage(Page value)

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Parameter
NameDescription
valuePage
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeDiagnosticInfo(Struct value)

public ConversationTurn.VirtualAgentOutput.Builder mergeDiagnosticInfo(Struct value)

Required. Input only. The 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];

Parameter
NameDescription
valueStruct
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeFrom(ConversationTurn.VirtualAgentOutput other)

public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(ConversationTurn.VirtualAgentOutput other)
Parameter
NameDescription
otherConversationTurn.VirtualAgentOutput
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

mergeSessionParameters(Struct value)

public ConversationTurn.VirtualAgentOutput.Builder mergeSessionParameters(Struct value)

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeStatus(Status value)

public ConversationTurn.VirtualAgentOutput.Builder mergeStatus(Status value)

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeTriggeredIntent(Intent value)

public ConversationTurn.VirtualAgentOutput.Builder mergeTriggeredIntent(Intent value)

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Parameter
NameDescription
valueIntent
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationTurn.VirtualAgentOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

removeDifferences(int index)

public ConversationTurn.VirtualAgentOutput.Builder removeDifferences(int index)

Output only. If this is part of a result conversation turn, 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

removeTextResponses(int index)

public ConversationTurn.VirtualAgentOutput.Builder removeTextResponses(int index)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setCurrentPage(Page value)

public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page value)

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Parameter
NameDescription
valuePage
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setCurrentPage(Page.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page.Builder builderForValue)

The Page on which the utterance was spoken. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;

Parameter
NameDescription
builderForValuePage.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setDiagnosticInfo(Struct value)

public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(Struct value)

Required. Input only. The 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];

Parameter
NameDescription
valueStruct
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setDiagnosticInfo(Struct.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(Struct.Builder builderForValue)

Required. Input only. The 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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setDifferences(int index, TestRunDifference value)

public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference value)

Output only. If this is part of a result conversation turn, 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];

Parameters
NameDescription
indexint
valueTestRunDifference
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setDifferences(int index, TestRunDifference.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference.Builder builderForValue)

Output only. If this is part of a result conversation turn, 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];

Parameters
NameDescription
indexint
builderForValueTestRunDifference.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationTurn.VirtualAgentOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationTurn.VirtualAgentOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides

setSessionParameters(Struct value)

public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(Struct value)

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setSessionParameters(Struct.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(Struct.Builder builderForValue)

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setStatus(Status value)

public ConversationTurn.VirtualAgentOutput.Builder setStatus(Status value)

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setStatus(Status.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setStatus(Status.Builder builderForValue)

Response error from the agent in the test result. If set, other output is empty.

.google.rpc.Status status = 10;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setTextResponses(int index, ResponseMessage.Text value)

public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text value)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameters
NameDescription
indexint
valueResponseMessage.Text
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setTextResponses(int index, ResponseMessage.Text.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text.Builder builderForValue)

The text responses from the agent for the turn.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;

Parameters
NameDescription
indexint
builderForValueResponseMessage.Text.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setTriggeredIntent(Intent value)

public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent value)

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Parameter
NameDescription
valueIntent
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setTriggeredIntent(Intent.Builder builderForValue)

public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent.Builder builderForValue)

The Intent that triggered the response. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;

Parameter
NameDescription
builderForValueIntent.Builder
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationTurn.VirtualAgentOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationTurn.VirtualAgentOutput.Builder
Overrides