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.v3beta1.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.v3beta1.TestCases.ListTestCases].
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTestCasesResponse.BuilderaddAllTestCases(Iterable<? extends TestCase> values)The list of test cases.ListTestCasesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTestCasesResponse.BuilderaddTestCases(int index, TestCase value)The list of test cases.ListTestCasesResponse.BuilderaddTestCases(int index, TestCase.Builder builderForValue)The list of test cases.ListTestCasesResponse.BuilderaddTestCases(TestCase value)The list of test cases.ListTestCasesResponse.BuilderaddTestCases(TestCase.Builder builderForValue)The list of test cases.TestCase.BuilderaddTestCasesBuilder()The list of test cases.TestCase.BuilderaddTestCasesBuilder(int index)The list of test cases.ListTestCasesResponsebuild()ListTestCasesResponsebuildPartial()ListTestCasesResponse.Builderclear()ListTestCasesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListTestCasesResponse.BuilderclearNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.ListTestCasesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListTestCasesResponse.BuilderclearTestCases()The list of test cases.ListTestCasesResponse.Builderclone()ListTestCasesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteStringgetNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.TestCasegetTestCases(int index)The list of test cases.TestCase.BuildergetTestCasesBuilder(int index)The list of test cases.List<TestCase.Builder>getTestCasesBuilderList()The list of test cases.intgetTestCasesCount()The list of test cases.List<TestCase>getTestCasesList()The list of test cases.TestCaseOrBuildergetTestCasesOrBuilder(int index)The list of test cases.List<? extends TestCaseOrBuilder>getTestCasesOrBuilderList()The list of test cases.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListTestCasesResponse.BuildermergeFrom(ListTestCasesResponse other)ListTestCasesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListTestCasesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListTestCasesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListTestCasesResponse.BuilderremoveTestCases(int index)The list of test cases.ListTestCasesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTestCasesResponse.BuildersetNextPageToken(String value)Token to retrieve the next page of results, or empty if there are no more results in the list.ListTestCasesResponse.BuildersetNextPageTokenBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListTestCasesResponse.BuildersetTestCases(int index, TestCase value)The list of test cases.ListTestCasesResponse.BuildersetTestCases(int index, TestCase.Builder builderForValue)The list of test cases.ListTestCasesResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clear
public ListTestCasesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
getDefaultInstanceForType
public ListTestCasesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListTestCasesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListTestCasesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListTestCasesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
setField
public ListTestCasesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clearField
public ListTestCasesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
clearOneof
public ListTestCasesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
setRepeatedField
public ListTestCasesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
addRepeatedField
public ListTestCasesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
mergeFrom
public ListTestCasesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTestCasesResponse.Builder>
-
mergeFrom
public ListTestCasesResponse.Builder mergeFrom(ListTestCasesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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.v3beta1.TestCase test_cases = 1;- Specified by:
getTestCasesListin 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.v3beta1.TestCase test_cases = 1;- Specified by:
getTestCasesCountin 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.v3beta1.TestCase test_cases = 1;- Specified by:
getTestCasesin 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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.TestCase test_cases = 1;- Specified by:
getTestCasesOrBuilderin 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.v3beta1.TestCase test_cases = 1;- Specified by:
getTestCasesOrBuilderListin 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.v3beta1.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.v3beta1.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.v3beta1.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:
getNextPageTokenin 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:
getNextPageTokenBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
mergeUnknownFields
public final ListTestCasesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
-
-