Class BatchRunTestCasesResponse.Builder (0.20.0)

public static final class BatchRunTestCasesResponse.Builder extends GeneratedMessageV3.Builder<BatchRunTestCasesResponse.Builder> implements BatchRunTestCasesResponseOrBuilder

The response message for TestCases.BatchRunTestCases.

Protobuf type google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResults(Iterable<? extends TestCaseResult> values)

public BatchRunTestCasesResponse.Builder addAllResults(Iterable<? extends TestCaseResult> values)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseResult>
Returns
Type Description
BatchRunTestCasesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

addResults(TestCaseResult value)

public BatchRunTestCasesResponse.Builder addResults(TestCaseResult value)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
value TestCaseResult
Returns
Type Description
BatchRunTestCasesResponse.Builder

addResults(TestCaseResult.Builder builderForValue)

public BatchRunTestCasesResponse.Builder addResults(TestCaseResult.Builder builderForValue)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
builderForValue TestCaseResult.Builder
Returns
Type Description
BatchRunTestCasesResponse.Builder

addResults(int index, TestCaseResult value)

public BatchRunTestCasesResponse.Builder addResults(int index, TestCaseResult value)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameters
Name Description
index int
value TestCaseResult
Returns
Type Description
BatchRunTestCasesResponse.Builder

addResults(int index, TestCaseResult.Builder builderForValue)

public BatchRunTestCasesResponse.Builder addResults(int index, TestCaseResult.Builder builderForValue)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameters
Name Description
index int
builderForValue TestCaseResult.Builder
Returns
Type Description
BatchRunTestCasesResponse.Builder

addResultsBuilder()

public TestCaseResult.Builder addResultsBuilder()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
TestCaseResult.Builder

addResultsBuilder(int index)

public TestCaseResult.Builder addResultsBuilder(int index)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult.Builder

build()

public BatchRunTestCasesResponse build()
Returns
Type Description
BatchRunTestCasesResponse

buildPartial()

public BatchRunTestCasesResponse buildPartial()
Returns
Type Description
BatchRunTestCasesResponse

clear()

public BatchRunTestCasesResponse.Builder clear()
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchRunTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

clearResults()

public BatchRunTestCasesResponse.Builder clearResults()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
BatchRunTestCasesResponse.Builder

clone()

public BatchRunTestCasesResponse.Builder clone()
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchRunTestCasesResponse getDefaultInstanceForType()
Returns
Type Description
BatchRunTestCasesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResults(int index)

public TestCaseResult getResults(int index)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult

getResultsBuilder(int index)

public TestCaseResult.Builder getResultsBuilder(int index)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult.Builder

getResultsBuilderList()

public List<TestCaseResult.Builder> getResultsBuilderList()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
int

getResultsList()

public List<TestCaseResult> getResultsList()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
List<TestCaseResult>

getResultsOrBuilder(int index)

public TestCaseResultOrBuilder getResultsOrBuilder(int index)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResultOrBuilder

getResultsOrBuilderList()

public List<? extends TestCaseResultOrBuilder> getResultsOrBuilderList()

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunTestCasesResponse other)

public BatchRunTestCasesResponse.Builder mergeFrom(BatchRunTestCasesResponse other)
Parameter
Name Description
other BatchRunTestCasesResponse
Returns
Type Description
BatchRunTestCasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchRunTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchRunTestCasesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

removeResults(int index)

public BatchRunTestCasesResponse.Builder removeResults(int index)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchRunTestCasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchRunTestCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides

setResults(int index, TestCaseResult value)

public BatchRunTestCasesResponse.Builder setResults(int index, TestCaseResult value)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameters
Name Description
index int
value TestCaseResult
Returns
Type Description
BatchRunTestCasesResponse.Builder

setResults(int index, TestCaseResult.Builder builderForValue)

public BatchRunTestCasesResponse.Builder setResults(int index, TestCaseResult.Builder builderForValue)

The test case results. The detailed conversation turns are empty in this response.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseResult results = 1;

Parameters
Name Description
index int
builderForValue TestCaseResult.Builder
Returns
Type Description
BatchRunTestCasesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunTestCasesResponse.Builder
Overrides