Class TestCase.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
- com.google.cloud.dialogflow.cx.v3.TestCase.Builder
-
- All Implemented Interfaces:
TestCaseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TestCase
public static final class TestCase.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder> implements TestCaseOrBuilder
Represents a test case.
Protobuf typegoogle.cloud.dialogflow.cx.v3.TestCase
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestCase.BuilderaddAllTags(Iterable<String> values)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.BuilderaddAllTestCaseConversationTurns(Iterable<? extends ConversationTurn> values)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TestCase.BuilderaddTags(String value)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.BuilderaddTestCaseConversationTurns(int index, ConversationTurn value)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuilderaddTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuilderaddTestCaseConversationTurns(ConversationTurn value)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuilderaddTestCaseConversationTurns(ConversationTurn.Builder builderForValue)The conversation turns uttered when the test case was created, in chronological order.ConversationTurn.BuilderaddTestCaseConversationTurnsBuilder()The conversation turns uttered when the test case was created, in chronological order.ConversationTurn.BuilderaddTestCaseConversationTurnsBuilder(int index)The conversation turns uttered when the test case was created, in chronological order.TestCasebuild()TestCasebuildPartial()TestCase.Builderclear()TestCase.BuilderclearCreationTime()Output only.TestCase.BuilderclearDisplayName()Required.TestCase.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TestCase.BuilderclearLastTestResult()The latest test result.TestCase.BuilderclearName()The unique identifier of the test case.TestCase.BuilderclearNotes()Additional freeform notes about the test case.TestCase.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TestCase.BuilderclearTags()Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.BuilderclearTestCaseConversationTurns()The conversation turns uttered when the test case was created, in chronological order.TestCase.BuilderclearTestConfig()Config for the test case.TestCase.Builderclone()com.google.protobuf.TimestampgetCreationTime()Output only.com.google.protobuf.Timestamp.BuildergetCreationTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder()Output only.TestCasegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.TestCaseResultgetLastTestResult()The latest test result.TestCaseResult.BuildergetLastTestResultBuilder()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.com.google.protobuf.ProtocolStringListgetTagsList()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.ConversationTurn.BuildergetTestCaseConversationTurnsBuilder(int index)The conversation turns uttered when the test case was created, in chronological order.List<ConversationTurn.Builder>getTestCaseConversationTurnsBuilderList()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.TestConfig.BuildergetTestConfigBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TestCase.BuildermergeCreationTime(com.google.protobuf.Timestamp value)Output only.TestCase.BuildermergeFrom(TestCase other)TestCase.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TestCase.BuildermergeFrom(com.google.protobuf.Message other)TestCase.BuildermergeLastTestResult(TestCaseResult value)The latest test result.TestCase.BuildermergeTestConfig(TestConfig value)Config for the test case.TestCase.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TestCase.BuilderremoveTestCaseConversationTurns(int index)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuildersetCreationTime(com.google.protobuf.Timestamp value)Output only.TestCase.BuildersetCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.TestCase.BuildersetDisplayName(String value)Required.TestCase.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.TestCase.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TestCase.BuildersetLastTestResult(TestCaseResult value)The latest test result.TestCase.BuildersetLastTestResult(TestCaseResult.Builder builderForValue)The latest test result.TestCase.BuildersetName(String value)The unique identifier of the test case.TestCase.BuildersetNameBytes(com.google.protobuf.ByteString value)The unique identifier of the test case.TestCase.BuildersetNotes(String value)Additional freeform notes about the test case.TestCase.BuildersetNotesBytes(com.google.protobuf.ByteString value)Additional freeform notes about the test case.TestCase.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TestCase.BuildersetTags(int index, String value)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.BuildersetTestCaseConversationTurns(int index, ConversationTurn value)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuildersetTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)The conversation turns uttered when the test case was created, in chronological order.TestCase.BuildersetTestConfig(TestConfig value)Config for the test case.TestCase.BuildersetTestConfig(TestConfig.Builder builderForValue)Config for the test case.TestCase.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clear
public TestCase.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
getDefaultInstanceForType
public TestCase getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TestCase build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TestCase buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TestCase.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
setField
public TestCase.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clearField
public TestCase.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clearOneof
public TestCase.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
setRepeatedField
public TestCase.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
addRepeatedField
public TestCase.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
mergeFrom
public TestCase.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TestCase.Builder>
-
mergeFrom
public TestCase.Builder mergeFrom(TestCase other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
mergeFrom
public TestCase.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TestCase.Builder>- Throws:
IOException
-
getName
public 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;- Specified by:
getNamein interfaceTestCaseOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceTestCaseOrBuilder- Returns:
- The bytes for name.
-
setName
public TestCase.Builder setName(String value)
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TestCase.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public TestCase.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getTagsListin interfaceTestCaseOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public 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;- Specified by:
getTagsCountin interfaceTestCaseOrBuilder- Returns:
- The count of tags.
-
getTags
public 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;- Specified by:
getTagsin interfaceTestCaseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public 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;- Specified by:
getTagsBytesin interfaceTestCaseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public TestCase.Builder setTags(int index, String value)
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 to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public TestCase.Builder addTags(String value)
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:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public TestCase.Builder addAllTags(Iterable<String> values)
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:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public TestCase.Builder clearTags()
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:
- This builder for chaining.
-
addTagsBytes
public TestCase.Builder addTagsBytes(com.google.protobuf.ByteString value)
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:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getDisplayName
public 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];- Specified by:
getDisplayNamein interfaceTestCaseOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceTestCaseOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public TestCase.Builder setDisplayName(String value)
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];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public TestCase.Builder clearDisplayName()
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:
- This builder for chaining.
-
setDisplayNameBytes
public TestCase.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getNotes
public String getNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Specified by:
getNotesin interfaceTestCaseOrBuilder- Returns:
- The notes.
-
getNotesBytes
public com.google.protobuf.ByteString getNotesBytes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Specified by:
getNotesBytesin interfaceTestCaseOrBuilder- Returns:
- The bytes for notes.
-
setNotes
public TestCase.Builder setNotes(String value)
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Parameters:
value- The notes to set.- Returns:
- This builder for chaining.
-
clearNotes
public TestCase.Builder clearNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Returns:
- This builder for chaining.
-
setNotesBytes
public TestCase.Builder setNotesBytes(com.google.protobuf.ByteString value)
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;- Parameters:
value- The bytes for notes to set.- Returns:
- This builder for chaining.
-
hasTestConfig
public boolean hasTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;- Specified by:
hasTestConfigin interfaceTestCaseOrBuilder- Returns:
- Whether the testConfig field is set.
-
getTestConfig
public TestConfig getTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;- Specified by:
getTestConfigin interfaceTestCaseOrBuilder- Returns:
- The testConfig.
-
setTestConfig
public TestCase.Builder setTestConfig(TestConfig value)
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
setTestConfig
public TestCase.Builder setTestConfig(TestConfig.Builder builderForValue)
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
mergeTestConfig
public TestCase.Builder mergeTestConfig(TestConfig value)
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
clearTestConfig
public TestCase.Builder clearTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
getTestConfigBuilder
public TestConfig.Builder getTestConfigBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;
-
getTestConfigOrBuilder
public TestConfigOrBuilder getTestConfigOrBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;- Specified by:
getTestConfigOrBuilderin interfaceTestCaseOrBuilder
-
getTestCaseConversationTurnsList
public 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;- Specified by:
getTestCaseConversationTurnsListin interfaceTestCaseOrBuilder
-
getTestCaseConversationTurnsCount
public 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;- Specified by:
getTestCaseConversationTurnsCountin interfaceTestCaseOrBuilder
-
getTestCaseConversationTurns
public 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;- Specified by:
getTestCaseConversationTurnsin interfaceTestCaseOrBuilder
-
setTestCaseConversationTurns
public TestCase.Builder setTestCaseConversationTurns(int index, ConversationTurn value)
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;
-
setTestCaseConversationTurns
public TestCase.Builder setTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
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;
-
addTestCaseConversationTurns
public TestCase.Builder addTestCaseConversationTurns(ConversationTurn value)
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;
-
addTestCaseConversationTurns
public TestCase.Builder addTestCaseConversationTurns(int index, ConversationTurn value)
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;
-
addTestCaseConversationTurns
public TestCase.Builder addTestCaseConversationTurns(ConversationTurn.Builder builderForValue)
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;
-
addTestCaseConversationTurns
public TestCase.Builder addTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
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;
-
addAllTestCaseConversationTurns
public TestCase.Builder addAllTestCaseConversationTurns(Iterable<? extends ConversationTurn> values)
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;
-
clearTestCaseConversationTurns
public TestCase.Builder clearTestCaseConversationTurns()
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;
-
removeTestCaseConversationTurns
public TestCase.Builder removeTestCaseConversationTurns(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;
-
getTestCaseConversationTurnsBuilder
public ConversationTurn.Builder getTestCaseConversationTurnsBuilder(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;
-
getTestCaseConversationTurnsOrBuilder
public 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;- Specified by:
getTestCaseConversationTurnsOrBuilderin interfaceTestCaseOrBuilder
-
getTestCaseConversationTurnsOrBuilderList
public 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;- Specified by:
getTestCaseConversationTurnsOrBuilderListin interfaceTestCaseOrBuilder
-
addTestCaseConversationTurnsBuilder
public ConversationTurn.Builder addTestCaseConversationTurnsBuilder()
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;
-
addTestCaseConversationTurnsBuilder
public ConversationTurn.Builder addTestCaseConversationTurnsBuilder(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;
-
getTestCaseConversationTurnsBuilderList
public List<ConversationTurn.Builder> getTestCaseConversationTurnsBuilderList()
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
public boolean hasCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreationTimein interfaceTestCaseOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimein interfaceTestCaseOrBuilder- Returns:
- The creationTime.
-
setCreationTime
public TestCase.Builder setCreationTime(com.google.protobuf.Timestamp value)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreationTime
public TestCase.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreationTime
public TestCase.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreationTime
public TestCase.Builder clearCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimeOrBuilderin interfaceTestCaseOrBuilder
-
hasLastTestResult
public boolean hasLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;- Specified by:
hasLastTestResultin interfaceTestCaseOrBuilder- Returns:
- Whether the lastTestResult field is set.
-
getLastTestResult
public TestCaseResult getLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;- Specified by:
getLastTestResultin interfaceTestCaseOrBuilder- Returns:
- The lastTestResult.
-
setLastTestResult
public TestCase.Builder setLastTestResult(TestCaseResult value)
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
setLastTestResult
public TestCase.Builder setLastTestResult(TestCaseResult.Builder builderForValue)
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
mergeLastTestResult
public TestCase.Builder mergeLastTestResult(TestCaseResult value)
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
clearLastTestResult
public TestCase.Builder clearLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
getLastTestResultBuilder
public TestCaseResult.Builder getLastTestResultBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
-
getLastTestResultOrBuilder
public TestCaseResultOrBuilder getLastTestResultOrBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;- Specified by:
getLastTestResultOrBuilderin interfaceTestCaseOrBuilder
-
setUnknownFields
public final TestCase.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
mergeUnknownFields
public final TestCase.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
-