Interface TestCaseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TestCase,TestCase.Builder
public interface TestCaseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreationTime()Output only.com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder()Output only.StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.TestCaseResultgetLastTestResult()The latest test result.TestCaseResultOrBuildergetLastTestResultOrBuilder()The latest test result.StringgetName()The unique identifier of the test case.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of the test case.StringgetNotes()Additional freeform notes about the test case.com.google.protobuf.ByteStringgetNotesBytes()Additional freeform notes about the test case.StringgetTags(int index)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.com.google.protobuf.ByteStringgetTagsBytes(int index)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.intgetTagsCount()Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.List<String>getTagsList()Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.ConversationTurngetTestCaseConversationTurns(int index)The conversation turns uttered when the test case was created, in chronological order.intgetTestCaseConversationTurnsCount()The conversation turns uttered when the test case was created, in chronological order.List<ConversationTurn>getTestCaseConversationTurnsList()The conversation turns uttered when the test case was created, in chronological order.ConversationTurnOrBuildergetTestCaseConversationTurnsOrBuilder(int index)The conversation turns uttered when the test case was created, in chronological order.List<? extends ConversationTurnOrBuilder>getTestCaseConversationTurnsOrBuilderList()The conversation turns uttered when the test case was created, in chronological order.TestConfiggetTestConfig()Config for the test case.TestConfigOrBuildergetTestConfigOrBuilder()Config for the test case.booleanhasCreationTime()Output only.booleanhasLastTestResult()The latest test result.booleanhasTestConfig()Config for the test case.-
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 unique identifier of the test case. [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase] will populate the name automatically. Otherwise use format: `projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The unique identifier of the test case. [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase] will populate the name automatically. Otherwise use format: `projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>`.
string name = 1;- Returns:
- The bytes for name.
-
getTagsList
List<String> getTagsList()
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
repeated string tags = 2;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
repeated string tags = 2;- Returns:
- The count of tags.
-
getTags
String getTags(int index)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
repeated string tags = 2;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
repeated string tags = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getDisplayName
String getDisplayName()
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getNotes
String getNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Returns:
- The notes.
-
getNotesBytes
com.google.protobuf.ByteString getNotesBytes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Returns:
- The bytes for notes.
-
hasTestConfig
boolean hasTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;- Returns:
- Whether the testConfig field is set.
-
getTestConfig
TestConfig getTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;- Returns:
- The testConfig.
-
getTestConfigOrBuilder
TestConfigOrBuilder getTestConfigOrBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
getTestCaseConversationTurnsList
List<ConversationTurn> getTestCaseConversationTurnsList()
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn test_case_conversation_turns = 5;
-
getTestCaseConversationTurns
ConversationTurn getTestCaseConversationTurns(int index)
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn test_case_conversation_turns = 5;
-
getTestCaseConversationTurnsCount
int getTestCaseConversationTurnsCount()
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn test_case_conversation_turns = 5;
-
getTestCaseConversationTurnsOrBuilderList
List<? extends ConversationTurnOrBuilder> getTestCaseConversationTurnsOrBuilderList()
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn test_case_conversation_turns = 5;
-
getTestCaseConversationTurnsOrBuilder
ConversationTurnOrBuilder getTestCaseConversationTurnsOrBuilder(int index)
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn test_case_conversation_turns = 5;
-
hasCreationTime
boolean hasCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the creationTime field is set.
-
getCreationTime
com.google.protobuf.Timestamp getCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The creationTime.
-
getCreationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasLastTestResult
boolean hasLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;- Returns:
- Whether the lastTestResult field is set.
-
getLastTestResult
TestCaseResult getLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;- Returns:
- The lastTestResult.
-
getLastTestResultOrBuilder
TestCaseResultOrBuilder getLastTestResultOrBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
-