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

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

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

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

        public ListConversationsRequest.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<ListConversationsRequest.Builder>
      • addRepeatedField

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

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

        public ListConversationsRequest.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<ListConversationsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The parent resource of the conversation.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListConversationsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource of the conversation.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListConversationsRequest.Builder setParent​(String value)
         Required. The parent resource of the conversation.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListConversationsRequest.Builder clearParent()
         Required. The parent resource of the conversation.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListConversationsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent resource of the conversation.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         The maximum number of conversations to return in the response. A valid page
         size ranges from 0 to 1,000 inclusive. If the page size is zero or
         unspecified, a default page size of 100 will be chosen. Note that a call
         might return fewer results than the requested page size.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListConversationsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListConversationsRequest.Builder setPageSize​(int value)
         The maximum number of conversations to return in the response. A valid page
         size ranges from 0 to 1,000 inclusive. If the page size is zero or
         unspecified, a default page size of 100 will be chosen. Note that a call
         might return fewer results than the requested page size.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListConversationsRequest.Builder clearPageSize()
         The maximum number of conversations to return in the response. A valid page
         size ranges from 0 to 1,000 inclusive. If the page size is zero or
         unspecified, a default page size of 100 will be chosen. Note that a call
         might return fewer results than the requested page size.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         The value returned by the last `ListConversationsResponse`. This value
         indicates that this is a continuation of a prior `ListConversations` call
         and that the system should return the next page of data.
         
        string page_token = 3;
        Specified by:
        getPageToken in interface ListConversationsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The value returned by the last `ListConversationsResponse`. This value
         indicates that this is a continuation of a prior `ListConversations` call
         and that the system should return the next page of data.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListConversationsRequest.Builder setPageToken​(String value)
         The value returned by the last `ListConversationsResponse`. This value
         indicates that this is a continuation of a prior `ListConversations` call
         and that the system should return the next page of data.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListConversationsRequest.Builder clearPageToken()
         The value returned by the last `ListConversationsResponse`. This value
         indicates that this is a continuation of a prior `ListConversations` call
         and that the system should return the next page of data.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListConversationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The value returned by the last `ListConversationsResponse`. This value
         indicates that this is a continuation of a prior `ListConversations` call
         and that the system should return the next page of data.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         A filter to reduce results to a specific subset. Useful for querying
         conversations with specific properties.
         
        string filter = 4;
        Specified by:
        getFilter in interface ListConversationsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         A filter to reduce results to a specific subset. Useful for querying
         conversations with specific properties.
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListConversationsRequest.Builder setFilter​(String value)
         A filter to reduce results to a specific subset. Useful for querying
         conversations with specific properties.
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListConversationsRequest.Builder clearFilter()
         A filter to reduce results to a specific subset. Useful for querying
         conversations with specific properties.
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListConversationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         A filter to reduce results to a specific subset. Useful for querying
         conversations with specific properties.
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getViewValue

        public int getViewValue()
         The level of details of the conversation. Default is `BASIC`.
         
        .google.cloud.contactcenterinsights.v1.ConversationView view = 5;
        Specified by:
        getViewValue in interface ListConversationsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for view.
      • setViewValue

        public ListConversationsRequest.Builder setViewValue​(int value)
         The level of details of the conversation. Default is `BASIC`.
         
        .google.cloud.contactcenterinsights.v1.ConversationView view = 5;
        Parameters:
        value - The enum numeric value on the wire for view to set.
        Returns:
        This builder for chaining.
      • setView

        public ListConversationsRequest.Builder setView​(ConversationView value)
         The level of details of the conversation. Default is `BASIC`.
         
        .google.cloud.contactcenterinsights.v1.ConversationView view = 5;
        Parameters:
        value - The view to set.
        Returns:
        This builder for chaining.
      • clearView

        public ListConversationsRequest.Builder clearView()
         The level of details of the conversation. Default is `BASIC`.
         
        .google.cloud.contactcenterinsights.v1.ConversationView view = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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