Interface ConversationTurn.VirtualAgentOutputOrBuilder (0.46.0)

public static interface ConversationTurn.VirtualAgentOutputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentPage()

public abstract Page getCurrentPage()

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

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

Returns
Type Description
Page

The currentPage.

getCurrentPageOrBuilder()

public abstract PageOrBuilder getCurrentPageOrBuilder()

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

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

Returns
Type Description
PageOrBuilder

getDiagnosticInfo()

public abstract 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
Type Description
Struct

The diagnosticInfo.

getDiagnosticInfoOrBuilder()

public abstract 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
Type Description
StructOrBuilder

getDifferences(int index)

public abstract 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TestRunDifference

getDifferencesCount()

public abstract 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDifferencesList()

public abstract 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<TestRunDifference>

getDifferencesOrBuilder(int index)

public abstract 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TestRunDifferenceOrBuilder

getDifferencesOrBuilderList()

public abstract 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.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.TestRunDifferenceOrBuilder>

getSessionParameters()

public abstract Struct getSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
Type Description
Struct

The sessionParameters.

getSessionParametersOrBuilder()

public abstract StructOrBuilder getSessionParametersOrBuilder()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
Type Description
StructOrBuilder

getStatus()

public abstract Status getStatus()

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

.google.rpc.Status status = 10;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

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

.google.rpc.Status status = 10;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTextResponses(int index)

public abstract ResponseMessage.Text getTextResponses(int index)

The text responses from the agent for the turn.

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

Parameter
Name Description
index int
Returns
Type Description
ResponseMessage.Text

getTextResponsesCount()

public abstract int getTextResponsesCount()

The text responses from the agent for the turn.

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

Returns
Type Description
int

getTextResponsesList()

public abstract List<ResponseMessage.Text> getTextResponsesList()

The text responses from the agent for the turn.

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

Returns
Type Description
List<Text>

getTextResponsesOrBuilder(int index)

public abstract ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)

The text responses from the agent for the turn.

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

Parameter
Name Description
index int
Returns
Type Description
ResponseMessage.TextOrBuilder

getTextResponsesOrBuilderList()

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

The text responses from the agent for the turn.

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

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.ResponseMessage.TextOrBuilder>

getTriggeredIntent()

public abstract Intent getTriggeredIntent()

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

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

Returns
Type Description
Intent

The triggeredIntent.

getTriggeredIntentOrBuilder()

public abstract IntentOrBuilder getTriggeredIntentOrBuilder()

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

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

Returns
Type Description
IntentOrBuilder

hasCurrentPage()

public abstract boolean hasCurrentPage()

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

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

Returns
Type Description
boolean

Whether the currentPage field is set.

hasDiagnosticInfo()

public abstract 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
Type Description
boolean

Whether the diagnosticInfo field is set.

hasSessionParameters()

public abstract boolean hasSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
Type Description
boolean

Whether the sessionParameters field is set.

hasStatus()

public abstract boolean hasStatus()

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

.google.rpc.Status status = 10;

Returns
Type Description
boolean

Whether the status field is set.

hasTriggeredIntent()

public abstract boolean hasTriggeredIntent()

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

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

Returns
Type Description
boolean

Whether the triggeredIntent field is set.