Interface TestCaseResultOrBuilder (0.57.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Timestamp

The testTime.

getTestTimeOrBuilder()

public abstract TimestampOrBuilder getTestTimeOrBuilder()

The time that the test was run.

.google.protobuf.Timestamp test_time = 5;

Returns
Type Description
TimestampOrBuilder

hasTestTime()

public abstract boolean hasTestTime()

The time that the test was run.

.google.protobuf.Timestamp test_time = 5;

Returns
Type Description
boolean

Whether the testTime field is set.