Interface TestCaseResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestCaseResult,TestCaseResult.Builder
public interface TestCaseResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationTurngetConversationTurns(int index)The conversation turns uttered during the test case replay in chronological order.intgetConversationTurnsCount()The conversation turns uttered during the test case replay in chronological order.List<ConversationTurn>getConversationTurnsList()The conversation turns uttered during the test case replay in chronological order.ConversationTurnOrBuildergetConversationTurnsOrBuilder(int index)The conversation turns uttered during the test case replay in chronological order.List<? extends ConversationTurnOrBuilder>getConversationTurnsOrBuilderList()The conversation turns uttered during the test case replay in chronological order.StringgetEnvironment()Environment where the test was run.com.google.protobuf.ByteStringgetEnvironmentBytes()Environment where the test was run.StringgetName()The resource name for the test case result.com.google.protobuf.ByteStringgetNameBytes()The resource name for the test case result.TestResultgetTestResult()Whether the test case passed in the agent environment.intgetTestResultValue()Whether the test case passed in the agent environment.com.google.protobuf.TimestampgetTestTime()The time that the test was run.com.google.protobuf.TimestampOrBuildergetTestTimeOrBuilder()The time that the test was run.booleanhasTestTime()The time that the test was run.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getEnvironment
String getEnvironment()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The environment.
-
getEnvironmentBytes
com.google.protobuf.ByteString getEnvironmentBytes()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for environment.
-
getConversationTurnsList
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;
-
getConversationTurns
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;
-
getConversationTurnsCount
int getConversationTurnsCount()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;
-
getConversationTurnsOrBuilderList
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;
-
getConversationTurnsOrBuilder
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;
-
getTestResultValue
int getTestResultValue()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;- Returns:
- The enum numeric value on the wire for testResult.
-
getTestResult
TestResult getTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;- Returns:
- The testResult.
-
hasTestTime
boolean hasTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;- Returns:
- Whether the testTime field is set.
-
getTestTime
com.google.protobuf.Timestamp getTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;- Returns:
- The testTime.
-
getTestTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTestTimeOrBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
-
-