Interface ConversationTurn.VirtualAgentOutputOrBuilder (0.14.2)

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.v3beta1.Page current_page = 8;

Returns
TypeDescription
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.v3beta1.Page current_page = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getSessionParameters()

public abstract Struct getSessionParameters()

The session parameters available to the bot at this point.

.google.protobuf.Struct session_parameters = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v3beta1.ResponseMessage.Text text_responses = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.Text

getTextResponsesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getTriggeredIntentOrBuilder()

public abstract 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 abstract 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 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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v3beta1.Intent triggered_intent = 7;

Returns
TypeDescription
boolean

Whether the triggeredIntent field is set.