public static final class TestCaseResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder> implements TestCaseResultOrBuilder
Represents a result from running a test case in an agent environment.Protobuf type
google.cloud.dialogflow.cx.v3.TestCaseResult| Modifier and Type | Method and Description |
|---|---|
TestCaseResult.Builder |
addAllConversationTurns(Iterable<? extends ConversationTurn> values)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
addConversationTurns(ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
addConversationTurns(ConversationTurn value)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
addConversationTurns(int index,
ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
addConversationTurns(int index,
ConversationTurn value)
The conversation turns uttered during the test case replay in chronological
order.
|
ConversationTurn.Builder |
addConversationTurnsBuilder()
The conversation turns uttered during the test case replay in chronological
order.
|
ConversationTurn.Builder |
addConversationTurnsBuilder(int index)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TestCaseResult |
build() |
TestCaseResult |
buildPartial() |
TestCaseResult.Builder |
clear() |
TestCaseResult.Builder |
clearConversationTurns()
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
clearEnvironment()
Environment where the test was run.
|
TestCaseResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TestCaseResult.Builder |
clearName()
The resource name for the test case result.
|
TestCaseResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TestCaseResult.Builder |
clearTestResult()
Whether the test case passed in the agent environment.
|
TestCaseResult.Builder |
clearTestTime()
The time that the test was run.
|
TestCaseResult.Builder |
clone() |
ConversationTurn |
getConversationTurns(int index)
The conversation turns uttered during the test case replay in chronological
order.
|
ConversationTurn.Builder |
getConversationTurnsBuilder(int index)
The conversation turns uttered during the test case replay in chronological
order.
|
List<ConversationTurn.Builder> |
getConversationTurnsBuilderList()
The conversation turns uttered during the test case replay in chronological
order.
|
int |
getConversationTurnsCount()
The conversation turns uttered during the test case replay in chronological
order.
|
List<ConversationTurn> |
getConversationTurnsList()
The conversation turns uttered during the test case replay in chronological
order.
|
ConversationTurnOrBuilder |
getConversationTurnsOrBuilder(int index)
The conversation turns uttered during the test case replay in chronological
order.
|
List<? extends ConversationTurnOrBuilder> |
getConversationTurnsOrBuilderList()
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEnvironment()
Environment where the test was run.
|
com.google.protobuf.ByteString |
getEnvironmentBytes()
Environment where the test was run.
|
String |
getName()
The resource name for the test case result.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name for the test case result.
|
TestResult |
getTestResult()
Whether the test case passed in the agent environment.
|
int |
getTestResultValue()
Whether the test case passed in the agent environment.
|
com.google.protobuf.Timestamp |
getTestTime()
The time that the test was run.
|
com.google.protobuf.Timestamp.Builder |
getTestTimeBuilder()
The time that the test was run.
|
com.google.protobuf.TimestampOrBuilder |
getTestTimeOrBuilder()
The time that the test was run.
|
boolean |
hasTestTime()
The time that the test was run.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TestCaseResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestCaseResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestCaseResult.Builder |
mergeFrom(TestCaseResult other) |
TestCaseResult.Builder |
mergeTestTime(com.google.protobuf.Timestamp value)
The time that the test was run.
|
TestCaseResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TestCaseResult.Builder |
removeConversationTurns(int index)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
setConversationTurns(int index,
ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
setConversationTurns(int index,
ConversationTurn value)
The conversation turns uttered during the test case replay in chronological
order.
|
TestCaseResult.Builder |
setEnvironment(String value)
Environment where the test was run.
|
TestCaseResult.Builder |
setEnvironmentBytes(com.google.protobuf.ByteString value)
Environment where the test was run.
|
TestCaseResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TestCaseResult.Builder |
setName(String value)
The resource name for the test case result.
|
TestCaseResult.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name for the test case result.
|
TestCaseResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TestCaseResult.Builder |
setTestResult(TestResult value)
Whether the test case passed in the agent environment.
|
TestCaseResult.Builder |
setTestResultValue(int value)
Whether the test case passed in the agent environment.
|
TestCaseResult.Builder |
setTestTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the test was run.
|
TestCaseResult.Builder |
setTestTime(com.google.protobuf.Timestamp value)
The time that the test was run.
|
TestCaseResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TestCaseResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TestCaseResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TestCaseResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestCaseResult.Builder>public TestCaseResult.Builder mergeFrom(TestCaseResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public TestCaseResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestCaseResult.Builder>IOExceptionpublic String getName()
The resource name for the test case result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>`.
string name = 1;getName in interface TestCaseResultOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name for the test case result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>`.
string name = 1;getNameBytes in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setName(String value)
The resource name for the test case result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>`.
string name = 1;value - The name to set.public TestCaseResult.Builder clearName()
The resource name for the test case result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>`.
string name = 1;public TestCaseResult.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name for the test case result. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<TestCaseResult ID>`.
string name = 1;value - The bytes for name to set.public String getEnvironment()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }getEnvironment in interface TestCaseResultOrBuilderpublic com.google.protobuf.ByteString getEnvironmentBytes()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }getEnvironmentBytes in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setEnvironment(String value)
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }value - The environment to set.public TestCaseResult.Builder clearEnvironment()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }public TestCaseResult.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }value - The bytes for environment to set.public List<ConversationTurn> getConversationTurnsList()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;getConversationTurnsList in interface TestCaseResultOrBuilderpublic int getConversationTurnsCount()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;getConversationTurnsCount in interface TestCaseResultOrBuilderpublic ConversationTurn getConversationTurns(int index)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;getConversationTurns in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setConversationTurns(int index, ConversationTurn value)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder setConversationTurns(int index, ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder addConversationTurns(ConversationTurn value)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder addConversationTurns(int index, ConversationTurn value)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder addConversationTurns(ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder addConversationTurns(int index, ConversationTurn.Builder builderForValue)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder addAllConversationTurns(Iterable<? extends ConversationTurn> values)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder clearConversationTurns()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public TestCaseResult.Builder removeConversationTurns(int index)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public ConversationTurn.Builder getConversationTurnsBuilder(int index)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public ConversationTurnOrBuilder getConversationTurnsOrBuilder(int index)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;getConversationTurnsOrBuilder in interface TestCaseResultOrBuilderpublic List<? extends ConversationTurnOrBuilder> getConversationTurnsOrBuilderList()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;getConversationTurnsOrBuilderList in interface TestCaseResultOrBuilderpublic ConversationTurn.Builder addConversationTurnsBuilder()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public ConversationTurn.Builder addConversationTurnsBuilder(int index)
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public List<ConversationTurn.Builder> getConversationTurnsBuilderList()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;public int getTestResultValue()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;getTestResultValue in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setTestResultValue(int value)
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;value - The enum numeric value on the wire for testResult to set.public TestResult getTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;getTestResult in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setTestResult(TestResult value)
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;value - The testResult to set.public TestCaseResult.Builder clearTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;public boolean hasTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;hasTestTime in interface TestCaseResultOrBuilderpublic com.google.protobuf.Timestamp getTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;getTestTime in interface TestCaseResultOrBuilderpublic TestCaseResult.Builder setTestTime(com.google.protobuf.Timestamp value)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;public TestCaseResult.Builder setTestTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;public TestCaseResult.Builder mergeTestTime(com.google.protobuf.Timestamp value)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;public TestCaseResult.Builder clearTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;public com.google.protobuf.Timestamp.Builder getTestTimeBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;public com.google.protobuf.TimestampOrBuilder getTestTimeOrBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;getTestTimeOrBuilder in interface TestCaseResultOrBuilderpublic final TestCaseResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>public final TestCaseResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestCaseResult.Builder>Copyright © 2022 Google LLC. All rights reserved.