Class ListTestCaseResultsResponse.Builder (0.14.0)

public static final class ListTestCaseResultsResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.TestCaseResult>
Returns
TypeDescription
ListTestCaseResultsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTestCaseResultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

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
NameDescription
valueTestCaseResult
Returns
TypeDescription
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
NameDescription
builderForValueTestCaseResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTestCaseResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTestCaseResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TestCaseResult.Builder

build()

public ListTestCaseResultsResponse build()
Returns
TypeDescription
ListTestCaseResultsResponse

buildPartial()

public ListTestCaseResultsResponse buildPartial()
Returns
TypeDescription
ListTestCaseResultsResponse

clear()

public ListTestCaseResultsResponse.Builder clear()
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTestCaseResultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTestCaseResultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTestCaseResultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

clearTestCaseResults()

public ListTestCaseResultsResponse.Builder clearTestCaseResults()

The list of test case results.

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

Returns
TypeDescription
ListTestCaseResultsResponse.Builder

clone()

public ListTestCaseResultsResponse.Builder clone()
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTestCaseResultsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTestCaseResultsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getTestCaseResultsCount()

public int getTestCaseResultsCount()

The list of test case results.

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

Returns
TypeDescription
int

getTestCaseResultsList()

public List<TestCaseResult> getTestCaseResultsList()

The list of test case results.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.TestCaseResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTestCaseResultsResponse other)

public ListTestCaseResultsResponse.Builder mergeFrom(ListTestCaseResultsResponse other)
Parameter
NameDescription
otherListTestCaseResultsResponse
Returns
TypeDescription
ListTestCaseResultsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTestCaseResultsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTestCaseResultsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListTestCaseResultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTestCaseResultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTestCaseResultsResponse.Builder

This builder for chaining.

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

public ListTestCaseResultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides

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
NameDescription
indexint
valueTestCaseResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTestCaseResult.Builder
Returns
TypeDescription
ListTestCaseResultsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTestCaseResultsResponse.Builder
Overrides