Class ListConversationsResponse.Builder

    • 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<ListConversationsResponse.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<ListConversationsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListConversationsResponse.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<ListConversationsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsResponse.Builder>
      • mergeFrom

        public ListConversationsResponse.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<ListConversationsResponse.Builder>
        Throws:
        IOException
      • getConversationsList

        public List<Conversation> getConversationsList()
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
        Specified by:
        getConversationsList in interface ListConversationsResponseOrBuilder
      • getConversationsCount

        public int getConversationsCount()
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
        Specified by:
        getConversationsCount in interface ListConversationsResponseOrBuilder
      • getConversations

        public Conversation getConversations​(int index)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
        Specified by:
        getConversations in interface ListConversationsResponseOrBuilder
      • setConversations

        public ListConversationsResponse.Builder setConversations​(int index,
                                                                  Conversation value)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • setConversations

        public ListConversationsResponse.Builder setConversations​(int index,
                                                                  Conversation.Builder builderForValue)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversations

        public ListConversationsResponse.Builder addConversations​(Conversation value)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversations

        public ListConversationsResponse.Builder addConversations​(int index,
                                                                  Conversation value)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversations

        public ListConversationsResponse.Builder addConversations​(Conversation.Builder builderForValue)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversations

        public ListConversationsResponse.Builder addConversations​(int index,
                                                                  Conversation.Builder builderForValue)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addAllConversations

        public ListConversationsResponse.Builder addAllConversations​(Iterable<? extends Conversation> values)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • clearConversations

        public ListConversationsResponse.Builder clearConversations()
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • removeConversations

        public ListConversationsResponse.Builder removeConversations​(int index)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • getConversationsBuilder

        public Conversation.Builder getConversationsBuilder​(int index)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversationsBuilder

        public Conversation.Builder addConversationsBuilder()
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • addConversationsBuilder

        public Conversation.Builder addConversationsBuilder​(int index)
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
      • getConversationsBuilderList

        public List<Conversation.Builder> getConversationsBuilderList()
         The list of conversations. There will be a maximum number of items
         returned based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 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 ListConversationsResponseOrBuilder
        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 ListConversationsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListConversationsResponse.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 ListConversationsResponse.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 ListConversationsResponse.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 ListConversationsResponse.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<ListConversationsResponse.Builder>
      • mergeUnknownFields

        public final ListConversationsResponse.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<ListConversationsResponse.Builder>