Class TestCase.Builder (0.20.0)

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

Implements

TestCaseOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
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;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn>
Returns
Type Description
TestCase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestCase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestCase.Builder
Overrides

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;

Parameter
Name Description
value String

The tags to add.

Returns
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;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
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;

Parameter
Name Description
value ConversationTurn
Returns
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;

Parameter
Name Description
builderForValue ConversationTurn.Builder
Returns
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;

Parameters
Name Description
index int
value ConversationTurn
Returns
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;

Parameters
Name Description
index int
builderForValue ConversationTurn.Builder
Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
Type Description
ConversationTurn.Builder

build()

public TestCase build()
Returns
Type Description
TestCase

buildPartial()

public TestCase buildPartial()
Returns
Type Description
TestCase

clear()

public TestCase.Builder clear()
Returns
Type Description
TestCase.Builder
Overrides

clearCreationTime()

public TestCase.Builder clearCreationTime()

Output only. When the test was created.

.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
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];

Returns
Type Description
TestCase.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TestCase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TestCase.Builder
Overrides

clearLastTestResult()

public TestCase.Builder clearLastTestResult()

The latest test result.

.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;

Returns
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;

Returns
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;

Returns
Type Description
TestCase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TestCase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TestCase.Builder
Overrides

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
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;

Returns
Type Description
TestCase.Builder

clearTestConfig()

public TestCase.Builder clearTestConfig()

Config for the test case.

.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;

Returns
Type Description
TestCase.Builder

clone()

public TestCase.Builder clone()
Returns
Type Description
TestCase.Builder
Overrides

getCreationTime()

public Timestamp getCreationTime()

Output only. When the test was created.

.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
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];

Returns
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];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public TestCase getDefaultInstanceForType()
Returns
Type Description
TestCase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
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];

Returns
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;

Returns
Type Description
TestCaseResult

The lastTestResult.

getLastTestResultBuilder()

public TestCaseResult.Builder getLastTestResultBuilder()

The latest test result.

.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;

Returns
Type Description
TestCaseResult.Builder

getLastTestResultOrBuilder()

public TestCaseResultOrBuilder getLastTestResultOrBuilder()

The latest test result.

.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
String

The notes.

getNotesBytes()

public ByteString getNotesBytes()

Additional freeform notes about the test case. Limit of 400 characters.

string notes = 4;

Returns
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;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
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;

Returns
Type Description
TestConfig

The testConfig.

getTestConfigBuilder()

public TestConfig.Builder getTestConfigBuilder()

Config for the test case.

.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;

Returns
Type Description
TestConfig.Builder

getTestConfigOrBuilder()

public TestConfigOrBuilder getTestConfigOrBuilder()

Config for the test case.

.google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;

Returns
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];

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the testConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
TestCase.Builder

mergeFrom(TestCase other)

public TestCase.Builder mergeFrom(TestCase other)
Parameter
Name Description
other TestCase
Returns
Type Description
TestCase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestCase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestCase.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public TestCase.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TestCase.Builder
Overrides

mergeLastTestResult(TestCaseResult value)

public TestCase.Builder mergeLastTestResult(TestCaseResult value)

The latest test result.

.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;

Parameter
Name Description
value TestCaseResult
Returns
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;

Parameter
Name Description
value TestConfig
Returns
Type Description
TestCase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestCase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestCase.Builder
Overrides

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;

Parameter
Name Description
index int
Returns
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];

Parameter
Name Description
value Timestamp
Returns
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];

Parameter
Name Description
builderForValue Builder
Returns
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];

Parameter
Name Description
value String

The displayName to set.

Returns
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];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
TestCase.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TestCase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestCase.Builder
Overrides

setLastTestResult(TestCaseResult value)

public TestCase.Builder setLastTestResult(TestCaseResult value)

The latest test result.

.google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;

Parameter
Name Description
value TestCaseResult
Returns
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;

Parameter
Name Description
builderForValue TestCaseResult.Builder
Returns
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;

Parameter
Name Description
value String

The name to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
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;

Parameter
Name Description
value String

The notes to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for notes to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TestCase.Builder
Overrides

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
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;

Parameters
Name Description
index int
value ConversationTurn
Returns
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;

Parameters
Name Description
index int
builderForValue ConversationTurn.Builder
Returns
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;

Parameter
Name Description
value TestConfig
Returns
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;

Parameter
Name Description
builderForValue TestConfig.Builder
Returns
Type Description
TestCase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestCase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestCase.Builder
Overrides