Interface TestCaseOrBuilder (0.51.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TestCaseResult

The lastTestResult.

getLastTestResultOrBuilder()

public abstract TestCaseResultOrBuilder getLastTestResultOrBuilder()

The latest test result.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
String

The notes.

getNotesBytes()

public abstract 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 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
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 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
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 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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
TestConfig

The testConfig.

getTestConfigOrBuilder()

public abstract TestConfigOrBuilder getTestConfigOrBuilder()

Config for the test case.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the testConfig field is set.