Class TestCase.Builder (0.52.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
TypeDescription
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
NameDescription
valuesIterable<String>

The tags to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn>
Returns
TypeDescription
TestCase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestCase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tags to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the tags to add.

Returns
TypeDescription
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
NameDescription
valueConversationTurn
Returns
TypeDescription
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
NameDescription
builderForValueConversationTurn.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversationTurn
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationTurn.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversationTurn.Builder

build()

public TestCase build()
Returns
TypeDescription
TestCase

buildPartial()

public TestCase buildPartial()
Returns
TypeDescription
TestCase

clear()

public TestCase.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TestCase.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TestCase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TestCase.Builder
Overrides

clearLastTestResult()

public TestCase.Builder clearLastTestResult()

The latest test result.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TestCase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TestCase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TestCase.Builder

clearTestConfig()

public TestCase.Builder clearTestConfig()

Config for the test case.

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

Returns
TypeDescription
TestCase.Builder

clone()

public TestCase.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public TestCase getDefaultInstanceForType()
Returns
TypeDescription
TestCase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getLastTestResult()

public TestCaseResult getLastTestResult()

The latest test result.

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

Returns
TypeDescription
TestCaseResult

The lastTestResult.

getLastTestResultBuilder()

public TestCaseResult.Builder getLastTestResultBuilder()

The latest test result.

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

Returns
TypeDescription
TestCaseResult.Builder

getLastTestResultOrBuilder()

public TestCaseResultOrBuilder getLastTestResultOrBuilder()

The latest test result.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getNotes()

public String getNotes()

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

string notes = 4;

Returns
TypeDescription
String

The notes.

getNotesBytes()

public ByteString getNotesBytes()

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

string notes = 4;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TestConfig

The testConfig.

getTestConfigBuilder()

public TestConfig.Builder getTestConfigBuilder()

Config for the test case.

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

Returns
TypeDescription
TestConfig.Builder

getTestConfigOrBuilder()

public TestConfigOrBuilder getTestConfigOrBuilder()

Config for the test case.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the testConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
TestCase.Builder

mergeFrom(TestCase other)

public TestCase.Builder mergeFrom(TestCase other)
Parameter
NameDescription
otherTestCase
Returns
TypeDescription
TestCase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestCase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestCase.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TestCase.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTestCaseResult
Returns
TypeDescription
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
NameDescription
valueTestConfig
Returns
TypeDescription
TestCase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestCase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
TestCase.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TestCase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTestCaseResult
Returns
TypeDescription
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
NameDescription
builderForValueTestCaseResult.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The notes to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for notes to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The tags to set.

Returns
TypeDescription
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
NameDescription
indexint
valueConversationTurn
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationTurn.Builder
Returns
TypeDescription
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
NameDescription
valueTestConfig
Returns
TypeDescription
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
NameDescription
builderForValueTestConfig.Builder
Returns
TypeDescription
TestCase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestCase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TestCase.Builder
Overrides