Interface TestCaseResultOrBuilder (0.13.0)

public interface TestCaseResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversationTurns(int index)

public abstract ConversationTurn getConversationTurns(int index)

The conversation turns uttered during the test case replay in chronological order.

repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationTurn

getConversationTurnsCount()

public abstract int getConversationTurnsCount()

The conversation turns uttered during the test case replay in chronological order.

repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;

Returns
TypeDescription
int

getConversationTurnsList()

public abstract List<ConversationTurn> getConversationTurnsList()

The conversation turns uttered during the test case replay in chronological order.

repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;

Returns
TypeDescription
List<ConversationTurn>

getConversationTurnsOrBuilder(int index)

public abstract ConversationTurnOrBuilder getConversationTurnsOrBuilder(int index)

The conversation turns uttered during the test case replay in chronological order.

repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationTurnOrBuilder

getConversationTurnsOrBuilderList()

public abstract List<? extends ConversationTurnOrBuilder> getConversationTurnsOrBuilderList()

The conversation turns uttered during the test case replay in chronological order.

repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.ConversationTurnOrBuilder>

getEnvironment()

public abstract String getEnvironment()

Environment where the test was run. If not set, it indicates the draft environment.

string environment = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public abstract ByteString getEnvironmentBytes()

Environment where the test was run. If not set, it indicates the draft environment.

string environment = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for environment.

getName()

public abstract String getName()

The resource name for the test case result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name for the test case result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getTestResult()

public abstract TestResult getTestResult()

Whether the test case passed in the agent environment.

.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;

Returns
TypeDescription
TestResult

The testResult.

getTestResultValue()

public abstract int getTestResultValue()

Whether the test case passed in the agent environment.

.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for testResult.

getTestTime()

public abstract Timestamp getTestTime()

The time that the test was run.

.google.protobuf.Timestamp test_time = 5;

Returns
TypeDescription
Timestamp

The testTime.

getTestTimeOrBuilder()

public abstract TimestampOrBuilder getTestTimeOrBuilder()

The time that the test was run.

.google.protobuf.Timestamp test_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasTestTime()

public abstract boolean hasTestTime()

The time that the test was run.

.google.protobuf.Timestamp test_time = 5;

Returns
TypeDescription
boolean

Whether the testTime field is set.