Interface TestCaseResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestCaseResult,TestCaseResult.Builder
@Generated
public interface TestCaseResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetConversationTurns(int index) The conversation turns uttered during the test case replay in chronological order.intThe conversation turns uttered during the test case replay in chronological order.The conversation turns uttered during the test case replay in chronological order.getConversationTurnsOrBuilder(int index) The conversation turns uttered during the test case replay in chronological order.List<? extends ConversationTurnOrBuilder>The conversation turns uttered during the test case replay in chronological order.Environment where the test was run.com.google.protobuf.ByteStringEnvironment where the test was run.getName()The resource name for the test case result.com.google.protobuf.ByteStringThe resource name for the test case result.Whether the test case passed in the agent environment.intWhether the test case passed in the agent environment.com.google.protobuf.TimestampThe time that the test was run.com.google.protobuf.TimestampOrBuilderThe time that the test was run.booleanThe time that the test was run.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The resource name for the test case result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The resource name for the test case result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
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.v3beta1.ConversationTurn conversation_turns = 3; -
getConversationTurns
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn conversation_turns = 3; -
getConversationTurnsCount
int getConversationTurnsCount()The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.ConversationTurn conversation_turns = 3; -
getConversationTurnsOrBuilder
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn conversation_turns = 3; -
getTestResultValue
int getTestResultValue()Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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;
-