- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 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.v3beta1.TestCaseResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TestCaseResult.BuilderImplements
TestCaseResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn> |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
value | ConversationTurn |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
builderForValue | ConversationTurn.Builder |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
value | ConversationTurn |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
builderForValue | ConversationTurn.Builder |
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.v3beta1.ConversationTurn conversation_turns = 3;
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
Type | Description |
ConversationTurn.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestCaseResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TestCaseResult.Builder |
build()
public TestCaseResult build()
Type | Description |
TestCaseResult |
buildPartial()
public TestCaseResult buildPartial()
Type | Description |
TestCaseResult |
clear()
public TestCaseResult.Builder clear()
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.v3beta1.ConversationTurn conversation_turns = 3;
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) = { ... }
Type | Description |
TestCaseResult.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TestCaseResult.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
TestCaseResult.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestCaseResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TestCaseResult.Builder |
clearTestResult()
public TestCaseResult.Builder clearTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3beta1.TestResult test_result = 4;
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;
Type | Description |
TestCaseResult.Builder |
clone()
public TestCaseResult.Builder clone()
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
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.v3beta1.ConversationTurn conversation_turns = 3;
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.v3beta1.ConversationTurn conversation_turns = 3;
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.v3beta1.ConversationTurn conversation_turns = 3;
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
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.v3beta1.ConversationTurn conversation_turns = 3;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurnOrBuilder> |
getDefaultInstanceForType()
public TestCaseResult getDefaultInstanceForType()
Type | Description |
TestCaseResult |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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) = { ... }
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) = { ... }
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;
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;
Type | Description |
ByteString | The bytes for name. |
getTestResult()
public TestResult getTestResult()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3beta1.TestResult test_result = 4;
Type | Description |
TestResult | The testResult. |
getTestResultValue()
public int getTestResultValue()
Whether the test case passed in the agent environment.
.google.cloud.dialogflow.cx.v3beta1.TestResult test_result = 4;
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;
Type | Description |
Timestamp | The testTime. |
getTestTimeBuilder()
public Timestamp.Builder getTestTimeBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Type | Description |
Builder |
getTestTimeOrBuilder()
public TimestampOrBuilder getTestTimeOrBuilder()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Type | Description |
TimestampOrBuilder |
hasTestTime()
public boolean hasTestTime()
The time that the test was run.
.google.protobuf.Timestamp test_time = 5;
Type | Description |
boolean | Whether the testTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TestCaseResult other)
public TestCaseResult.Builder mergeFrom(TestCaseResult other)
Name | Description |
other | TestCaseResult |
Type | Description |
TestCaseResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestCaseResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TestCaseResult.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TestCaseResult.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Timestamp |
Type | Description |
TestCaseResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestCaseResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
value | ConversationTurn |
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.v3beta1.ConversationTurn conversation_turns = 3;
Name | Description |
index | int |
builderForValue | ConversationTurn.Builder |
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) = { ... }
Name | Description |
value | String The environment to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for environment to set. |
Type | Description |
TestCaseResult.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TestCaseResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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.v3beta1.TestResult test_result = 4;
Name | Description |
value | TestResult The testResult to set. |
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.v3beta1.TestResult test_result = 4;
Name | Description |
value | int The enum numeric value on the wire for testResult to set. |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
TestCaseResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestCaseResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TestCaseResult.Builder |