- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class TestCaseResult.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TestCaseResult.BuilderImplements
TestCaseResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConversationTurns(Iterable<? extends ConversationTurn> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.ConversationTurn> |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
addConversationTurns(ConversationTurn value)
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;
Parameter | |
---|---|
Name | Description |
value |
ConversationTurn |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
addConversationTurns(ConversationTurn.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ConversationTurn.Builder |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
addConversationTurns(int index, ConversationTurn value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ConversationTurn |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
addConversationTurns(int index, ConversationTurn.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ConversationTurn.Builder |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
addConversationTurnsBuilder()
public 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;
Returns | |
---|---|
Type | Description |
ConversationTurn.Builder |
addConversationTurnsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationTurn.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestCaseResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
build()
public TestCaseResult build()
Returns | |
---|---|
Type | Description |
TestCaseResult |
buildPartial()
public TestCaseResult buildPartial()
Returns | |
---|---|
Type | Description |
TestCaseResult |
clear()
public TestCaseResult.Builder clear()
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
clearConversationTurns()
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;
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
clearEnvironment()
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) = { ... }
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TestCaseResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
clearName()
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;
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestCaseResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
clearTestResult()
public TestCaseResult.Builder clearTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
clearTestTime()
public TestCaseResult.Builder clearTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
clone()
public TestCaseResult.Builder clone()
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
getConversationTurns(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationTurn |
getConversationTurnsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationTurn.Builder |
getConversationTurnsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getConversationTurnsCount()
public int getConversationTurnsCount()
The conversation turns uttered during the test case replay in chronological order.
repeated .google.cloud.dialogflow.cx.v3.ConversationTurn conversation_turns = 3;
Returns | |
---|---|
Type | Description |
int |
getConversationTurnsList()
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;
Returns | |
---|---|
Type | Description |
List<ConversationTurn> |
getConversationTurnsOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConversationTurnOrBuilder |
getConversationTurnsOrBuilderList()
public 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.ConversationTurnOrBuilder> |
getDefaultInstanceForType()
public TestCaseResult getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TestCaseResult |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnvironment()
public String getEnvironment()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The environment. |
getEnvironmentBytes()
public ByteString getEnvironmentBytes()
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for environment. |
getName()
public 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;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getTestResult()
public TestResult getTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;
Returns | |
---|---|
Type | Description |
TestResult |
The testResult. |
getTestResultValue()
public int getTestResultValue()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for testResult. |
getTestTime()
public Timestamp getTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The testTime. |
getTestTimeBuilder()
public Timestamp.Builder getTestTimeBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getTestTimeOrBuilder()
public TimestampOrBuilder getTestTimeOrBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasTestTime()
public boolean hasTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the testTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TestCaseResult other)
public TestCaseResult.Builder mergeFrom(TestCaseResult other)
Parameter | |
---|---|
Name | Description |
other |
TestCaseResult |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestCaseResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TestCaseResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
mergeTestTime(Timestamp value)
public TestCaseResult.Builder mergeTestTime(Timestamp value)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestCaseResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
removeConversationTurns(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setConversationTurns(int index, ConversationTurn value)
public 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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ConversationTurn |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setConversationTurns(int index, ConversationTurn.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ConversationTurn.Builder |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setEnvironment(String value)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The environment to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setEnvironmentBytes(ByteString value)
public TestCaseResult.Builder setEnvironmentBytes(ByteString value)
Environment where the test was run. If not set, it indicates the draft environment.
string environment = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for environment to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TestCaseResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setName(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public TestCaseResult.Builder setNameBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestCaseResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setTestResult(TestResult value)
public TestCaseResult.Builder setTestResult(TestResult value)
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;
Parameter | |
---|---|
Name | Description |
value |
TestResult The testResult to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setTestResultValue(int value)
public TestCaseResult.Builder setTestResultValue(int value)
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3.TestResult test_result = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for testResult to set. |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
This builder for chaining. |
setTestTime(Timestamp value)
public TestCaseResult.Builder setTestTime(Timestamp value)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setTestTime(Timestamp.Builder builderForValue)
public TestCaseResult.Builder setTestTime(Timestamp.Builder builderForValue)
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestCaseResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TestCaseResult.Builder |