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.Builder
addAllTags(Iterable<String> values)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.Builder
addAllTestCaseConversationTurns(Iterable<? extends ConversationTurn> values)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestCase.Builder
addTags(String value)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.Builder
addTagsBytes(com.google.protobuf.ByteString value)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.Builder
addTestCaseConversationTurns(int index, ConversationTurn value)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
addTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
addTestCaseConversationTurns(ConversationTurn value)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
addTestCaseConversationTurns(ConversationTurn.Builder builderForValue)
The conversation turns uttered when the test case was created, in chronological order.ConversationTurn.Builder
addTestCaseConversationTurnsBuilder()
The conversation turns uttered when the test case was created, in chronological order.ConversationTurn.Builder
addTestCaseConversationTurnsBuilder(int index)
The conversation turns uttered when the test case was created, in chronological order.TestCase
build()
TestCase
buildPartial()
TestCase.Builder
clear()
TestCase.Builder
clearCreationTime()
Output only.TestCase.Builder
clearDisplayName()
Required.TestCase.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TestCase.Builder
clearLastTestResult()
The latest test result.TestCase.Builder
clearName()
The unique identifier of the test case.TestCase.Builder
clearNotes()
Additional freeform notes about the test case.TestCase.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TestCase.Builder
clearTags()
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.Builder
clearTestCaseConversationTurns()
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
clearTestConfig()
Config for the test case.TestCase.Builder
clone()
com.google.protobuf.Timestamp
getCreationTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreationTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreationTimeOrBuilder()
Output only.TestCase
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.TestCaseResult
getLastTestResult()
The latest test result.TestCaseResult.Builder
getLastTestResultBuilder()
The latest test result.TestCaseResultOrBuilder
getLastTestResultOrBuilder()
The latest test result.String
getName()
The unique identifier of the test case.com.google.protobuf.ByteString
getNameBytes()
The unique identifier of the test case.String
getNotes()
Additional freeform notes about the test case.com.google.protobuf.ByteString
getNotesBytes()
Additional freeform notes about the test case.String
getTags(int index)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.com.google.protobuf.ByteString
getTagsBytes(int index)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.int
getTagsCount()
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.com.google.protobuf.ProtocolStringList
getTagsList()
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.ConversationTurn
getTestCaseConversationTurns(int index)
The conversation turns uttered when the test case was created, in chronological order.ConversationTurn.Builder
getTestCaseConversationTurnsBuilder(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.int
getTestCaseConversationTurnsCount()
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.ConversationTurnOrBuilder
getTestCaseConversationTurnsOrBuilder(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.TestConfig
getTestConfig()
Config for the test case.TestConfig.Builder
getTestConfigBuilder()
Config for the test case.TestConfigOrBuilder
getTestConfigOrBuilder()
Config for the test case.boolean
hasCreationTime()
Output only.boolean
hasLastTestResult()
The latest test result.boolean
hasTestConfig()
Config for the test case.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TestCase.Builder
mergeCreationTime(com.google.protobuf.Timestamp value)
Output only.TestCase.Builder
mergeFrom(TestCase other)
TestCase.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TestCase.Builder
mergeFrom(com.google.protobuf.Message other)
TestCase.Builder
mergeLastTestResult(TestCaseResult value)
The latest test result.TestCase.Builder
mergeTestConfig(TestConfig value)
Config for the test case.TestCase.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TestCase.Builder
removeTestCaseConversationTurns(int index)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
setCreationTime(com.google.protobuf.Timestamp value)
Output only.TestCase.Builder
setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.TestCase.Builder
setDisplayName(String value)
Required.TestCase.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.TestCase.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestCase.Builder
setLastTestResult(TestCaseResult value)
The latest test result.TestCase.Builder
setLastTestResult(TestCaseResult.Builder builderForValue)
The latest test result.TestCase.Builder
setName(String value)
The unique identifier of the test case.TestCase.Builder
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the test case.TestCase.Builder
setNotes(String value)
Additional freeform notes about the test case.TestCase.Builder
setNotesBytes(com.google.protobuf.ByteString value)
Additional freeform notes about the test case.TestCase.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TestCase.Builder
setTags(int index, String value)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.TestCase.Builder
setTestCaseConversationTurns(int index, ConversationTurn value)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
setTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
The conversation turns uttered when the test case was created, in chronological order.TestCase.Builder
setTestConfig(TestConfig value)
Config for the test case.TestCase.Builder
setTestConfig(TestConfig.Builder builderForValue)
Config for the test case.TestCase.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clear
public TestCase.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
getDefaultInstanceForType
public TestCase getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TestCase build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TestCase buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TestCase.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
setField
public TestCase.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clearField
public TestCase.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
clearOneof
public TestCase.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
setRepeatedField
public TestCase.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
addRepeatedField
public TestCase.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
mergeFrom
public TestCase.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TestCase.Builder>
-
mergeFrom
public TestCase.Builder mergeFrom(TestCase other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getTagsList
in 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:
getTagsCount
in 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:
getTags
in 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:
getTagsBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getNotes
in 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:
getNotesBytes
in 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:
hasTestConfig
in 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:
getTestConfig
in 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:
getTestConfigOrBuilder
in 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:
getTestCaseConversationTurnsList
in 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:
getTestCaseConversationTurnsCount
in 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:
getTestCaseConversationTurns
in 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:
getTestCaseConversationTurnsOrBuilder
in 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:
getTestCaseConversationTurnsOrBuilderList
in 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:
hasCreationTime
in 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:
getCreationTime
in 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:
getCreationTimeOrBuilder
in interfaceTestCaseOrBuilder
-
hasLastTestResult
public boolean hasLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;
- Specified by:
hasLastTestResult
in 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:
getLastTestResult
in 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:
getLastTestResultOrBuilder
in interfaceTestCaseOrBuilder
-
setUnknownFields
public final TestCase.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
mergeUnknownFields
public final TestCase.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
-
-