public static final class ListTestCasesResponse.Builder extends GeneratedMessageV3.Builder<ListTestCasesResponse.Builder> implements ListTestCasesResponseOrBuilder
The response message for TestCases.ListTestCases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllTestCases(Iterable<? extends TestCase> values)
public ListTestCasesResponse.Builder addAllTestCases(Iterable<? extends TestCase> values)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCase>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTestCases(TestCase value)
public ListTestCasesResponse.Builder addTestCases(TestCase value)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Returns
addTestCases(TestCase.Builder builderForValue)
public ListTestCasesResponse.Builder addTestCases(TestCase.Builder builderForValue)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Returns
addTestCases(int index, TestCase value)
public ListTestCasesResponse.Builder addTestCases(int index, TestCase value)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameters
Returns
addTestCases(int index, TestCase.Builder builderForValue)
public ListTestCasesResponse.Builder addTestCases(int index, TestCase.Builder builderForValue)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameters
Returns
addTestCasesBuilder()
public TestCase.Builder addTestCasesBuilder()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
addTestCasesBuilder(int index)
public TestCase.Builder addTestCasesBuilder(int index)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public ListTestCasesResponse build()
Returns
buildPartial()
public ListTestCasesResponse buildPartial()
Returns
clear()
public ListTestCasesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListTestCasesResponse.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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTestCases()
public ListTestCasesResponse.Builder clearTestCases()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
clone()
public ListTestCasesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListTestCasesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
getTestCases(int index)
public TestCase getTestCases(int index)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getTestCasesBuilder(int index)
public TestCase.Builder getTestCasesBuilder(int index)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getTestCasesBuilderList()
public List<TestCase.Builder> getTestCasesBuilderList()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
getTestCasesCount()
public int getTestCasesCount()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
getTestCasesList()
public List<TestCase> getTestCasesList()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
getTestCasesOrBuilder(int index)
public TestCaseOrBuilder getTestCasesOrBuilder(int index)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getTestCasesOrBuilderList()
public List<? extends TestCaseOrBuilder> getTestCasesOrBuilderList()
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListTestCasesResponse other)
public ListTestCasesResponse.Builder mergeFrom(ListTestCasesResponse other)
Parameter
Returns
public ListTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListTestCasesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTestCases(int index)
public ListTestCasesResponse.Builder removeTestCases(int index)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListTestCasesResponse.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
setNextPageTokenBytes(ByteString value)
public ListTestCasesResponse.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTestCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTestCases(int index, TestCase value)
public ListTestCasesResponse.Builder setTestCases(int index, TestCase value)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameters
Returns
setTestCases(int index, TestCase.Builder builderForValue)
public ListTestCasesResponse.Builder setTestCases(int index, TestCase.Builder builderForValue)
The list of test cases. There will be a maximum number of items returned
based on the page_size field in the request.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides