- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class TestCase.Builder extends GeneratedMessageV3.Builder<TestCase.Builder> implements TestCaseOrBuilder
Represents a test case.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestCase
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TestCase.BuilderImplements
TestCaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTags(Iterable<String> values)
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;
Name | Description |
values |
Iterable<String> The tags to add. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
addAllTestCaseConversationTurns(Iterable<? extends ConversationTurn> values)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn> |
Type | Description |
TestCase.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestCase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TestCase.Builder |
addTags(String value)
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;
Name | Description |
value |
String The tags to add. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
addTagsBytes(ByteString value)
public TestCase.Builder addTagsBytes(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;
Name | Description |
value |
ByteString The bytes of the tags to add. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
addTestCaseConversationTurns(ConversationTurn value)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
value |
ConversationTurn |
Type | Description |
TestCase.Builder |
addTestCaseConversationTurns(ConversationTurn.Builder builderForValue)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
builderForValue |
ConversationTurn.Builder |
Type | Description |
TestCase.Builder |
addTestCaseConversationTurns(int index, ConversationTurn value)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
value |
ConversationTurn |
Type | Description |
TestCase.Builder |
addTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
builderForValue |
ConversationTurn.Builder |
Type | Description |
TestCase.Builder |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
ConversationTurn.Builder |
addTestCaseConversationTurnsBuilder(int index)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
Type | Description |
ConversationTurn.Builder |
build()
public TestCase build()
Type | Description |
TestCase |
buildPartial()
public TestCase buildPartial()
Type | Description |
TestCase |
clear()
public TestCase.Builder clear()
Type | Description |
TestCase.Builder |
clearCreationTime()
public TestCase.Builder clearCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TestCase.Builder |
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];
Type | Description |
TestCase.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TestCase.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
TestCase.Builder |
clearLastTestResult()
public TestCase.Builder clearLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Type | Description |
TestCase.Builder |
clearName()
public TestCase.Builder clearName()
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string name = 1;
Type | Description |
TestCase.Builder |
This builder for chaining. |
clearNotes()
public TestCase.Builder clearNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;
Type | Description |
TestCase.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestCase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
TestCase.Builder |
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;
Type | Description |
TestCase.Builder |
This builder for chaining. |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
TestCase.Builder |
clearTestConfig()
public TestCase.Builder clearTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Type | Description |
TestCase.Builder |
clone()
public TestCase.Builder clone()
Type | Description |
TestCase.Builder |
getCreationTime()
public Timestamp getCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp |
The creationTime. |
getCreationTimeBuilder()
public Timestamp.Builder getCreationTimeBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public TestCase getDefaultInstanceForType()
Type | Description |
TestCase |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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];
Type | Description |
ByteString |
The bytes for displayName. |
getLastTestResult()
public TestCaseResult getLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Type | Description |
TestCaseResult |
The lastTestResult. |
getLastTestResultBuilder()
public TestCaseResult.Builder getLastTestResultBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Type | Description |
TestCaseResult.Builder |
getLastTestResultOrBuilder()
public TestCaseResultOrBuilder getLastTestResultOrBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Type | Description |
TestCaseResultOrBuilder |
getName()
public String getName()
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
getNotes()
public String getNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;
Type | Description |
String |
The notes. |
getNotesBytes()
public ByteString getNotesBytes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;
Type | Description |
ByteString |
The bytes for notes. |
getTags(int index)
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;
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The tags at the given index. |
getTagsBytes(int index)
public 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;
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the tags at the given index. |
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;
Type | Description |
int |
The count of tags. |
getTagsList()
public 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;
Type | Description |
ProtocolStringList |
A list containing the tags. |
getTestCaseConversationTurns(int index)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
Type | Description |
ConversationTurn |
getTestCaseConversationTurnsBuilder(int index)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
Type | Description |
ConversationTurn.Builder |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
List<Builder> |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
int |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
List<ConversationTurn> |
getTestCaseConversationTurnsOrBuilder(int index)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
Type | Description |
ConversationTurnOrBuilder |
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurnOrBuilder> |
getTestConfig()
public TestConfig getTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Type | Description |
TestConfig |
The testConfig. |
getTestConfigBuilder()
public TestConfig.Builder getTestConfigBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Type | Description |
TestConfig.Builder |
getTestConfigOrBuilder()
public TestConfigOrBuilder getTestConfigOrBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Type | Description |
TestConfigOrBuilder |
hasCreationTime()
public boolean hasCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean |
Whether the creationTime field is set. |
hasLastTestResult()
public boolean hasLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Type | Description |
boolean |
Whether the lastTestResult field is set. |
hasTestConfig()
public boolean hasTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Type | Description |
boolean |
Whether the testConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreationTime(Timestamp value)
public TestCase.Builder mergeCreationTime(Timestamp value)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
TestCase.Builder |
mergeFrom(TestCase other)
public TestCase.Builder mergeFrom(TestCase other)
Name | Description |
other |
TestCase |
Type | Description |
TestCase.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestCase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
TestCase.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TestCase.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
TestCase.Builder |
mergeLastTestResult(TestCaseResult value)
public TestCase.Builder mergeLastTestResult(TestCaseResult value)
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Name | Description |
value |
TestCaseResult |
Type | Description |
TestCase.Builder |
mergeTestConfig(TestConfig value)
public TestCase.Builder mergeTestConfig(TestConfig value)
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Name | Description |
value |
TestConfig |
Type | Description |
TestCase.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestCase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TestCase.Builder |
removeTestCaseConversationTurns(int index)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
Type | Description |
TestCase.Builder |
setCreationTime(Timestamp value)
public TestCase.Builder setCreationTime(Timestamp value)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
Timestamp |
Type | Description |
TestCase.Builder |
setCreationTime(Timestamp.Builder builderForValue)
public TestCase.Builder setCreationTime(Timestamp.Builder builderForValue)
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue |
Builder |
Type | Description |
TestCase.Builder |
setDisplayName(String value)
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];
Name | Description |
value |
String The displayName to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public TestCase.Builder setDisplayNameBytes(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];
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TestCase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TestCase.Builder |
setLastTestResult(TestCaseResult value)
public TestCase.Builder setLastTestResult(TestCaseResult value)
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Name | Description |
value |
TestCaseResult |
Type | Description |
TestCase.Builder |
setLastTestResult(TestCaseResult.Builder builderForValue)
public TestCase.Builder setLastTestResult(TestCaseResult.Builder builderForValue)
The latest test result.
.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
Name | Description |
builderForValue |
TestCaseResult.Builder |
Type | Description |
TestCase.Builder |
setName(String value)
public TestCase.Builder setName(String value)
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string name = 1;
Name | Description |
value |
String The name to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public TestCase.Builder setNameBytes(ByteString value)
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string name = 1;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setNotes(String value)
public TestCase.Builder setNotes(String value)
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;
Name | Description |
value |
String The notes to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setNotesBytes(ByteString value)
public TestCase.Builder setNotesBytes(ByteString value)
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;
Name | Description |
value |
ByteString The bytes for notes to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestCase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
TestCase.Builder |
setTags(int index, String value)
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;
Name | Description |
index |
int The index to set the value at. |
value |
String The tags to set. |
Type | Description |
TestCase.Builder |
This builder for chaining. |
setTestCaseConversationTurns(int index, ConversationTurn value)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
value |
ConversationTurn |
Type | Description |
TestCase.Builder |
setTestCaseConversationTurns(int index, ConversationTurn.Builder builderForValue)
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.v3beta1.ConversationTurn test_case_conversation_turns = 5;
Name | Description |
index |
int |
builderForValue |
ConversationTurn.Builder |
Type | Description |
TestCase.Builder |
setTestConfig(TestConfig value)
public TestCase.Builder setTestConfig(TestConfig value)
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Name | Description |
value |
TestConfig |
Type | Description |
TestCase.Builder |
setTestConfig(TestConfig.Builder builderForValue)
public TestCase.Builder setTestConfig(TestConfig.Builder builderForValue)
Config for the test case.
.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
Name | Description |
builderForValue |
TestConfig.Builder |
Type | Description |
TestCase.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestCase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TestCase.Builder |