Class ListTestCasesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
- com.google.cloud.dialogflow.cx.v3.ListTestCasesResponse.Builder
-
- All Implemented Interfaces:
ListTestCasesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListTestCasesResponse
public static final class ListTestCasesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder> implements ListTestCasesResponseOrBuilder
The response message for [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases].
Protobuf typegoogle.cloud.dialogflow.cx.v3.ListTestCasesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTestCasesResponse.Builder
addAllTestCases(Iterable<? extends TestCase> values)
The list of test cases.ListTestCasesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListTestCasesResponse.Builder
addTestCases(int index, TestCase value)
The list of test cases.ListTestCasesResponse.Builder
addTestCases(int index, TestCase.Builder builderForValue)
The list of test cases.ListTestCasesResponse.Builder
addTestCases(TestCase value)
The list of test cases.ListTestCasesResponse.Builder
addTestCases(TestCase.Builder builderForValue)
The list of test cases.TestCase.Builder
addTestCasesBuilder()
The list of test cases.TestCase.Builder
addTestCasesBuilder(int index)
The list of test cases.ListTestCasesResponse
build()
ListTestCasesResponse
buildPartial()
ListTestCasesResponse.Builder
clear()
ListTestCasesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListTestCasesResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.ListTestCasesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListTestCasesResponse.Builder
clearTestCases()
The list of test cases.ListTestCasesResponse.Builder
clone()
ListTestCasesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results in the list.TestCase
getTestCases(int index)
The list of test cases.TestCase.Builder
getTestCasesBuilder(int index)
The list of test cases.List<TestCase.Builder>
getTestCasesBuilderList()
The list of test cases.int
getTestCasesCount()
The list of test cases.List<TestCase>
getTestCasesList()
The list of test cases.TestCaseOrBuilder
getTestCasesOrBuilder(int index)
The list of test cases.List<? extends TestCaseOrBuilder>
getTestCasesOrBuilderList()
The list of test cases.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListTestCasesResponse.Builder
mergeFrom(ListTestCasesResponse other)
ListTestCasesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListTestCasesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListTestCasesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListTestCasesResponse.Builder
removeTestCases(int index)
The list of test cases.ListTestCasesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListTestCasesResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results in the list.ListTestCasesResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results in the list.ListTestCasesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListTestCasesResponse.Builder
setTestCases(int index, TestCase value)
The list of test cases.ListTestCasesResponse.Builder
setTestCases(int index, TestCase.Builder builderForValue)
The list of test cases.ListTestCasesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clear
public ListTestCasesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
getDefaultInstanceForType
public ListTestCasesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListTestCasesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListTestCasesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListTestCasesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
setField
public ListTestCasesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clearField
public ListTestCasesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clearOneof
public ListTestCasesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
setRepeatedField
public ListTestCasesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
addRepeatedField
public ListTestCasesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
mergeFrom
public ListTestCasesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTestCasesResponse.Builder>
-
mergeFrom
public ListTestCasesResponse.Builder mergeFrom(ListTestCasesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
mergeFrom
public ListTestCasesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTestCasesResponse.Builder>
- Throws:
IOException
-
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.v3.TestCase test_cases = 1;
- Specified by:
getTestCasesList
in interfaceListTestCasesResponseOrBuilder
-
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.v3.TestCase test_cases = 1;
- Specified by:
getTestCasesCount
in interfaceListTestCasesResponseOrBuilder
-
getTestCases
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.v3.TestCase test_cases = 1;
- Specified by:
getTestCases
in interfaceListTestCasesResponseOrBuilder
-
setTestCases
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.v3.TestCase test_cases = 1;
-
setTestCases
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.v3.TestCase test_cases = 1;
-
addTestCases
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.v3.TestCase test_cases = 1;
-
addTestCases
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.v3.TestCase test_cases = 1;
-
addTestCases
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.v3.TestCase test_cases = 1;
-
addTestCases
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.v3.TestCase test_cases = 1;
-
addAllTestCases
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.v3.TestCase test_cases = 1;
-
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.v3.TestCase test_cases = 1;
-
removeTestCases
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.v3.TestCase test_cases = 1;
-
getTestCasesBuilder
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.v3.TestCase test_cases = 1;
-
getTestCasesOrBuilder
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.v3.TestCase test_cases = 1;
- Specified by:
getTestCasesOrBuilder
in interfaceListTestCasesResponseOrBuilder
-
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.v3.TestCase test_cases = 1;
- Specified by:
getTestCasesOrBuilderList
in interfaceListTestCasesResponseOrBuilder
-
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.v3.TestCase test_cases = 1;
-
addTestCasesBuilder
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.v3.TestCase test_cases = 1;
-
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.v3.TestCase test_cases = 1;
-
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;
- Specified by:
getNextPageToken
in interfaceListTestCasesResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceListTestCasesResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListTestCasesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListTestCasesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
mergeUnknownFields
public final ListTestCasesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
-