Class ListTestCaseResultsResponse.Builder (0.94.0)

public static final class ListTestCaseResultsResponse.Builder extends GeneratedMessage.Builder<ListTestCaseResultsResponse.Builder> implements ListTestCaseResultsResponseOrBuilder

The response message for TestCases.ListTestCaseResults.

Protobuf type google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse

Static Methods

getDescriptor()

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

Methods

addAllTestCaseResults(Iterable<? extends TestCaseResult> values)

public ListTestCaseResultsResponse.Builder addAllTestCaseResults(Iterable<? extends TestCaseResult> values)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

addTestCaseResults(TestCaseResult value)

public ListTestCaseResultsResponse.Builder addTestCaseResults(TestCaseResult value)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
value TestCaseResult
Returns
Type Description
ListTestCaseResultsResponse.Builder

addTestCaseResults(TestCaseResult.Builder builderForValue)

public ListTestCaseResultsResponse.Builder addTestCaseResults(TestCaseResult.Builder builderForValue)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

addTestCaseResults(int index, TestCaseResult value)

public ListTestCaseResultsResponse.Builder addTestCaseResults(int index, TestCaseResult value)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

addTestCaseResults(int index, TestCaseResult.Builder builderForValue)

public ListTestCaseResultsResponse.Builder addTestCaseResults(int index, TestCaseResult.Builder builderForValue)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

addTestCaseResultsBuilder()

public TestCaseResult.Builder addTestCaseResultsBuilder()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Returns
Type Description
TestCaseResult.Builder

addTestCaseResultsBuilder(int index)

public TestCaseResult.Builder addTestCaseResultsBuilder(int index)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult.Builder

build()

public ListTestCaseResultsResponse build()
Returns
Type Description
ListTestCaseResultsResponse

buildPartial()

public ListTestCaseResultsResponse buildPartial()
Returns
Type Description
ListTestCaseResultsResponse

clear()

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

clearNextPageToken()

public ListTestCaseResultsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListTestCaseResultsResponse.Builder

This builder for chaining.

clearTestCaseResults()

public ListTestCaseResultsResponse.Builder clearTestCaseResults()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Returns
Type Description
ListTestCaseResultsResponse.Builder

getDefaultInstanceForType()

public ListTestCaseResultsResponse getDefaultInstanceForType()
Returns
Type Description
ListTestCaseResultsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTestCaseResults(int index)

public TestCaseResult getTestCaseResults(int index)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult

getTestCaseResultsBuilder(int index)

public TestCaseResult.Builder getTestCaseResultsBuilder(int index)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResult.Builder

getTestCaseResultsBuilderList()

public List<TestCaseResult.Builder> getTestCaseResultsBuilderList()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Returns
Type Description
List<Builder>

getTestCaseResultsCount()

public int getTestCaseResultsCount()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Returns
Type Description
int

getTestCaseResultsList()

public List<TestCaseResult> getTestCaseResultsList()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Returns
Type Description
List<TestCaseResult>

getTestCaseResultsOrBuilder(int index)

public TestCaseResultOrBuilder getTestCaseResultsOrBuilder(int index)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseResultOrBuilder

getTestCaseResultsOrBuilderList()

public List<? extends TestCaseResultOrBuilder> getTestCaseResultsOrBuilderList()

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTestCaseResultsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeTestCaseResults(int index)

public ListTestCaseResultsResponse.Builder removeTestCaseResults(int index)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTestCaseResultsResponse.Builder

setNextPageToken(String value)

public ListTestCaseResultsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTestCaseResultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTestCaseResultsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTestCaseResultsResponse.Builder

This builder for chaining.

setTestCaseResults(int index, TestCaseResult value)

public ListTestCaseResultsResponse.Builder setTestCaseResults(int index, TestCaseResult value)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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

setTestCaseResults(int index, TestCaseResult.Builder builderForValue)

public ListTestCaseResultsResponse.Builder setTestCaseResults(int index, TestCaseResult.Builder builderForValue)

The list of test case results.

repeated .google.cloud.dialogflow.cx.v3.TestCaseResult test_case_results = 1;

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