Class ListConversationsRequest.Builder

  • All Implemented Interfaces:
    ListConversationsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListConversationsRequest

    public static final class ListConversationsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>
    implements ListConversationsRequestOrBuilder
     The request message for
     [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
     
    Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsRequest
    • 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 project from which to list all conversation.
         Format: `projects/<Project ID>/locations/<Location ID>`.
         
        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 project from which to list all conversation.
         Format: `projects/<Project ID>/locations/<Location ID>`.
         
        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 project from which to list all conversation.
         Format: `projects/<Project ID>/locations/<Location ID>`.
         
        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 project from which to list all conversation.
         Format: `projects/<Project ID>/locations/<Location ID>`.
         
        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 project from which to list all conversation.
         Format: `projects/<Project ID>/locations/<Location ID>`.
         
        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()
         Optional. The maximum number of items to return in a single page. By
         default 100 and at most 1000.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListConversationsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListConversationsRequest.Builder setPageSize​(int value)
         Optional. The maximum number of items to return in a single page. By
         default 100 and at most 1000.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListConversationsRequest.Builder clearPageSize()
         Optional. The maximum number of items to return in a single page. By
         default 100 and at most 1000.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional. The next_page_token value returned from a previous list request.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListConversationsRequest.Builder setPageToken​(String value)
         Optional. The next_page_token value returned from a previous list request.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListConversationsRequest.Builder clearPageToken()
         Optional. The next_page_token value returned from a previous list request.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListConversationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. The next_page_token value returned from a previous list request.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         A filter expression that filters conversations listed in the response. In
         general, the expression must specify the field name, a comparison operator,
         and the value to use for filtering:
         <ul>
           <li>The value must be a string, a number, or a boolean.</li>
           <li>The comparison operator must be either `=`,`!=`, `>`, or `<`.</li>
           <li>To filter on multiple expressions, separate the
               expressions with `AND` or `OR` (omitting both implies `AND`).</li>
           <li>For clarity, expressions can be enclosed in parentheses.</li>
         </ul>
         Only `lifecycle_state` can be filtered on in this way. For example,
         the following expression only returns `COMPLETED` conversations:
        
         `lifecycle_state = "COMPLETED"`
        
         For more information about filtering, see
         [API Filtering](https://aip.dev/160).
         
        string filter = 4;
        Specified by:
        getFilter in interface ListConversationsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         A filter expression that filters conversations listed in the response. In
         general, the expression must specify the field name, a comparison operator,
         and the value to use for filtering:
         <ul>
           <li>The value must be a string, a number, or a boolean.</li>
           <li>The comparison operator must be either `=`,`!=`, `>`, or `<`.</li>
           <li>To filter on multiple expressions, separate the
               expressions with `AND` or `OR` (omitting both implies `AND`).</li>
           <li>For clarity, expressions can be enclosed in parentheses.</li>
         </ul>
         Only `lifecycle_state` can be filtered on in this way. For example,
         the following expression only returns `COMPLETED` conversations:
        
         `lifecycle_state = "COMPLETED"`
        
         For more information about filtering, see
         [API Filtering](https://aip.dev/160).
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListConversationsRequest.Builder setFilter​(String value)
         A filter expression that filters conversations listed in the response. In
         general, the expression must specify the field name, a comparison operator,
         and the value to use for filtering:
         <ul>
           <li>The value must be a string, a number, or a boolean.</li>
           <li>The comparison operator must be either `=`,`!=`, `>`, or `<`.</li>
           <li>To filter on multiple expressions, separate the
               expressions with `AND` or `OR` (omitting both implies `AND`).</li>
           <li>For clarity, expressions can be enclosed in parentheses.</li>
         </ul>
         Only `lifecycle_state` can be filtered on in this way. For example,
         the following expression only returns `COMPLETED` conversations:
        
         `lifecycle_state = "COMPLETED"`
        
         For more information about filtering, see
         [API Filtering](https://aip.dev/160).
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListConversationsRequest.Builder clearFilter()
         A filter expression that filters conversations listed in the response. In
         general, the expression must specify the field name, a comparison operator,
         and the value to use for filtering:
         <ul>
           <li>The value must be a string, a number, or a boolean.</li>
           <li>The comparison operator must be either `=`,`!=`, `>`, or `<`.</li>
           <li>To filter on multiple expressions, separate the
               expressions with `AND` or `OR` (omitting both implies `AND`).</li>
           <li>For clarity, expressions can be enclosed in parentheses.</li>
         </ul>
         Only `lifecycle_state` can be filtered on in this way. For example,
         the following expression only returns `COMPLETED` conversations:
        
         `lifecycle_state = "COMPLETED"`
        
         For more information about filtering, see
         [API Filtering](https://aip.dev/160).
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListConversationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         A filter expression that filters conversations listed in the response. In
         general, the expression must specify the field name, a comparison operator,
         and the value to use for filtering:
         <ul>
           <li>The value must be a string, a number, or a boolean.</li>
           <li>The comparison operator must be either `=`,`!=`, `>`, or `<`.</li>
           <li>To filter on multiple expressions, separate the
               expressions with `AND` or `OR` (omitting both implies `AND`).</li>
           <li>For clarity, expressions can be enclosed in parentheses.</li>
         </ul>
         Only `lifecycle_state` can be filtered on in this way. For example,
         the following expression only returns `COMPLETED` conversations:
        
         `lifecycle_state = "COMPLETED"`
        
         For more information about filtering, see
         [API Filtering](https://aip.dev/160).
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        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>