public final class TestCase extends com.google.protobuf.GeneratedMessageV3 implements TestCaseOrBuilder
Represents a test case.Protobuf type
google.cloud.dialogflow.cx.v3.TestCase| Modifier and Type | Class and Description |
|---|---|
static class |
TestCase.Builder
Represents a test case.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LAST_TEST_RESULT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NOTES_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TEST_CASE_CONVERSATION_TURNS_FIELD_NUMBER |
static int |
TEST_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreationTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreationTimeOrBuilder()
Output only.
|
static TestCase |
getDefaultInstance() |
TestCase |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
TestCaseResult |
getLastTestResult()
The latest test result.
|
TestCaseResultOrBuilder |
getLastTestResultOrBuilder()
The latest test result.
|
String |
getName()
The unique identifier of the test case.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the test case.
|
String |
getNotes()
Additional freeform notes about the test case.
|
com.google.protobuf.ByteString |
getNotesBytes()
Additional freeform notes about the test case.
|
com.google.protobuf.Parser<TestCase> |
getParserForType() |
int |
getSerializedSize() |
String |
getTags(int index)
Tags are short descriptions that users may apply to test cases for
organizational and filtering purposes.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
Tags are short descriptions that users may apply to test cases for
organizational and filtering purposes.
|
int |
getTagsCount()
Tags are short descriptions that users may apply to test cases for
organizational and filtering purposes.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
Tags are short descriptions that users may apply to test cases for
organizational and filtering purposes.
|
ConversationTurn |
getTestCaseConversationTurns(int index)
The conversation turns uttered when the test case was created, in
chronological order.
|
int |
getTestCaseConversationTurnsCount()
The conversation turns uttered when the test case was created, in
chronological order.
|
List<ConversationTurn> |
getTestCaseConversationTurnsList()
The conversation turns uttered when the test case was created, in
chronological order.
|
ConversationTurnOrBuilder |
getTestCaseConversationTurnsOrBuilder(int index)
The conversation turns uttered when the test case was created, in
chronological order.
|
List<? extends ConversationTurnOrBuilder> |
getTestCaseConversationTurnsOrBuilderList()
The conversation turns uttered when the test case was created, in
chronological order.
|
TestConfig |
getTestConfig()
Config for the test case.
|
TestConfigOrBuilder |
getTestConfigOrBuilder()
Config for the test case.
|
boolean |
hasCreationTime()
Output only.
|
int |
hashCode() |
boolean |
hasLastTestResult()
The latest test result.
|
boolean |
hasTestConfig()
Config for the test case.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TestCase.Builder |
newBuilder() |
static TestCase.Builder |
newBuilder(TestCase prototype) |
TestCase.Builder |
newBuilderForType() |
protected TestCase.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TestCase |
parseDelimitedFrom(InputStream input) |
static TestCase |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestCase |
parseFrom(byte[] data) |
static TestCase |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestCase |
parseFrom(ByteBuffer data) |
static TestCase |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestCase |
parseFrom(com.google.protobuf.ByteString data) |
static TestCase |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestCase |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TestCase |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestCase |
parseFrom(InputStream input) |
static TestCase |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TestCase> |
parser() |
TestCase.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int NOTES_FIELD_NUMBER
public static final int TEST_CONFIG_FIELD_NUMBER
public static final int TEST_CASE_CONVERSATION_TURNS_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
public static final int LAST_TEST_RESULT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The unique identifier of the test case. [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase] will populate the name automatically. Otherwise use format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
string name = 1;getName in interface TestCaseOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the test case. [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase] will populate the name automatically. Otherwise use format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
string name = 1;getNameBytes in interface TestCaseOrBuilderpublic com.google.protobuf.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;getTagsList in interface TestCaseOrBuilderpublic 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;getTagsCount in interface TestCaseOrBuilderpublic 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;getTags in interface TestCaseOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getTagsBytes in interface TestCaseOrBuilderindex - The index of the value to return.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];getDisplayName in interface TestCaseOrBuilderpublic com.google.protobuf.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];getDisplayNameBytes in interface TestCaseOrBuilderpublic String getNotes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;getNotes in interface TestCaseOrBuilderpublic com.google.protobuf.ByteString getNotesBytes()
Additional freeform notes about the test case. Limit of 400 characters.
string notes = 4;getNotesBytes in interface TestCaseOrBuilderpublic boolean hasTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;hasTestConfig in interface TestCaseOrBuilderpublic TestConfig getTestConfig()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;getTestConfig in interface TestCaseOrBuilderpublic TestConfigOrBuilder getTestConfigOrBuilder()
Config for the test case.
.google.cloud.dialogflow.cx.v3.TestConfig test_config = 13;getTestConfigOrBuilder in interface TestCaseOrBuilderpublic 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.v3.ConversationTurn test_case_conversation_turns = 5;
getTestCaseConversationTurnsList in interface TestCaseOrBuilderpublic 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.v3.ConversationTurn test_case_conversation_turns = 5;
getTestCaseConversationTurnsOrBuilderList in interface TestCaseOrBuilderpublic 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.v3.ConversationTurn test_case_conversation_turns = 5;
getTestCaseConversationTurnsCount in interface TestCaseOrBuilderpublic 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.v3.ConversationTurn test_case_conversation_turns = 5;
getTestCaseConversationTurns in interface TestCaseOrBuilderpublic 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.v3.ConversationTurn test_case_conversation_turns = 5;
getTestCaseConversationTurnsOrBuilder in interface TestCaseOrBuilderpublic boolean hasCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreationTime in interface TestCaseOrBuilderpublic com.google.protobuf.Timestamp getCreationTime()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTime in interface TestCaseOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. When the test was created.
.google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTimeOrBuilder in interface TestCaseOrBuilderpublic boolean hasLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;hasLastTestResult in interface TestCaseOrBuilderpublic TestCaseResult getLastTestResult()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;getLastTestResult in interface TestCaseOrBuilderpublic TestCaseResultOrBuilder getLastTestResultOrBuilder()
The latest test result.
.google.cloud.dialogflow.cx.v3.TestCaseResult last_test_result = 12;getLastTestResultOrBuilder in interface TestCaseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TestCase parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestCase parseFrom(InputStream input) throws IOException
IOExceptionpublic static TestCase parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestCase parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TestCase parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestCase parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TestCase parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TestCase.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TestCase.Builder newBuilder()
public static TestCase.Builder newBuilder(TestCase prototype)
public TestCase.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TestCase.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TestCase getDefaultInstance()
public static com.google.protobuf.Parser<TestCase> parser()
public com.google.protobuf.Parser<TestCase> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TestCase getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.