- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationTurn.VirtualAgentOutput.BuilderImplements
ConversationTurn.VirtualAgentOutputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
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];
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestRunDifference> |
Type | Description |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text> |
Type | Description |
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];
Name | Description |
value | TestRunDifference |
Type | Description |
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];
Name | Description |
builderForValue | TestRunDifference.Builder |
Type | Description |
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];
Name | Description |
index | int |
value | TestRunDifference |
Type | Description |
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];
Name | Description |
index | int |
builderForValue | TestRunDifference.Builder |
Type | Description |
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];
Type | Description |
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];
Name | Description |
index | int |
Type | Description |
TestRunDifference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationTurn.VirtualAgentOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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;
Name | Description |
value | ResponseMessage.Text |
Type | Description |
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;
Name | Description |
builderForValue | ResponseMessage.Text.Builder |
Type | Description |
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;
Name | Description |
index | int |
value | ResponseMessage.Text |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | ResponseMessage.Text.Builder |
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
ResponseMessage.Text.Builder |
build()
public ConversationTurn.VirtualAgentOutput build()
Type | Description |
ConversationTurn.VirtualAgentOutput |
buildPartial()
public ConversationTurn.VirtualAgentOutput buildPartial()
Type | Description |
ConversationTurn.VirtualAgentOutput |
clear()
public ConversationTurn.VirtualAgentOutput.Builder clear()
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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;
Type | Description |
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];
Type | Description |
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];
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConversationTurn.VirtualAgentOutput.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationTurn.VirtualAgentOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
clearSessionParameters()
public ConversationTurn.VirtualAgentOutput.Builder clearSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
clone()
public ConversationTurn.VirtualAgentOutput.Builder clone()
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
PageOrBuilder |
getDefaultInstanceForType()
public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
Type | Description |
ConversationTurn.VirtualAgentOutput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Name | Description |
index | int |
Type | Description |
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];
Name | Description |
index | int |
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Name | Description |
index | int |
Type | Description |
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];
Type | Description |
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;
Type | Description |
Struct | The sessionParameters. |
getSessionParametersBuilder()
public Struct.Builder getSessionParametersBuilder()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
Type | Description |
Builder |
getSessionParametersOrBuilder()
public StructOrBuilder getSessionParametersOrBuilder()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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];
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
boolean | Whether the triggeredIntent field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | Page |
Type | Description |
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];
Name | Description |
value | Struct |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
mergeFrom(ConversationTurn.VirtualAgentOutput other)
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(ConversationTurn.VirtualAgentOutput other)
Name | Description |
other | ConversationTurn.VirtualAgentOutput |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationTurn.VirtualAgentOutput.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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;
Name | Description |
value | Struct |
Type | Description |
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
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;
Name | Description |
value | Intent |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationTurn.VirtualAgentOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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];
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
value | Page |
Type | Description |
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;
Name | Description |
builderForValue | Page.Builder |
Type | Description |
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];
Name | Description |
value | Struct |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
index | int |
value | TestRunDifference |
Type | Description |
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];
Name | Description |
index | int |
builderForValue | TestRunDifference.Builder |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationTurn.VirtualAgentOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationTurn.VirtualAgentOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
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;
Name | Description |
value | Struct |
Type | Description |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
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;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
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;
Name | Description |
index | int |
value | ResponseMessage.Text |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | ResponseMessage.Text.Builder |
Type | Description |
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;
Name | Description |
value | Intent |
Type | Description |
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;
Name | Description |
builderForValue | Intent.Builder |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationTurn.VirtualAgentOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConversationTurn.VirtualAgentOutput.Builder |