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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
TestCase
|
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;
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;
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;
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;
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
|
build()
public ListTestCasesResponse build()
buildPartial()
public ListTestCasesResponse buildPartial()
clear()
public ListTestCasesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ListTestCasesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTestCasesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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 |
Type |
Description |
int |
|
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListTestCasesResponse other)
public ListTestCasesResponse.Builder mergeFrom(ListTestCasesResponse other)
public ListTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTestCasesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTestCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides