Class 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 type google.cloud.dialogflow.cx.v3.ListTestCasesResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • clear

        public ListTestCasesResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • getDefaultInstanceForType

        public ListTestCasesResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListTestCasesResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListTestCasesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListTestCasesResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • clearField

        public ListTestCasesResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • clearOneof

        public ListTestCasesResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • addRepeatedField

        public ListTestCasesResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ListTestCasesResponseOrBuilder
      • 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 interface ListTestCasesResponseOrBuilder
      • 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 interface ListTestCasesResponseOrBuilder
      • 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 interface ListTestCasesResponseOrBuilder
      • 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 interface ListTestCasesResponseOrBuilder
        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 interface ListTestCasesResponseOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>
      • mergeUnknownFields

        public final ListTestCasesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTestCasesResponse.Builder>