Interface TestCaseOrBuilder (0.52.0)

public interface TestCaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreationTime()

public abstract 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.

getCreationTimeOrBuilder()

public abstract TimestampOrBuilder getCreationTimeOrBuilder()

Output only. When the test was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public abstract 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 abstract 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 abstract TestCaseResult getLastTestResult()

The latest test result.

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

Returns
TypeDescription
TestCaseResult

The lastTestResult.

getLastTestResultOrBuilder()

public abstract TestCaseResultOrBuilder getLastTestResultOrBuilder()

The latest test result.

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

Returns
TypeDescription
TestCaseResultOrBuilder

getName()

public abstract 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 abstract 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 abstract String getNotes()

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

string notes = 4;

Returns
TypeDescription
String

The notes.

getNotesBytes()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the tags.

getTestCaseConversationTurns(int index)

public abstract 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

getTestCaseConversationTurnsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract TestConfig getTestConfig()

Config for the test case.

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

Returns
TypeDescription
TestConfig

The testConfig.

getTestConfigOrBuilder()

public abstract TestConfigOrBuilder getTestConfigOrBuilder()

Config for the test case.

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

Returns
TypeDescription
TestConfigOrBuilder

hasCreationTime()

public abstract 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 abstract 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 abstract 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.