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 data store resource name. Format:
         `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_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 data store resource name. Format:
         `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_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 data store resource name. Format:
         `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_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 data store resource name. Format:
         `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_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 data store resource name. Format:
         `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_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()
         Maximum number of results to return. If unspecified, defaults
         to 50. Max allowed value is 1000.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListConversationsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListConversationsRequest.Builder setPageSize​(int value)
         Maximum number of results to return. If unspecified, defaults
         to 50. Max allowed value is 1000.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListConversationsRequest.Builder clearPageSize()
         Maximum number of results to return. If unspecified, defaults
         to 50. Max allowed value is 1000.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         A page token, received from a previous `ListConversations` call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 3;
        Specified by:
        getPageToken in interface ListConversationsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         A page token, received from a previous `ListConversations` call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListConversationsRequest.Builder setPageToken​(String value)
         A page token, received from a previous `ListConversations` call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListConversationsRequest.Builder clearPageToken()
         A page token, received from a previous `ListConversations` call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListConversationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         A page token, received from a previous `ListConversations` call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilter

        public String getFilter()
         A filter to apply on the list results. The supported features are:
         user_pseudo_id, state.
        
         Example:
         "user_pseudo_id = some_id"
         
        string filter = 4;
        Specified by:
        getFilter in interface ListConversationsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         A filter to apply on the list results. The supported features are:
         user_pseudo_id, state.
        
         Example:
         "user_pseudo_id = some_id"
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListConversationsRequest.Builder setFilter​(String value)
         A filter to apply on the list results. The supported features are:
         user_pseudo_id, state.
        
         Example:
         "user_pseudo_id = some_id"
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListConversationsRequest.Builder clearFilter()
         A filter to apply on the list results. The supported features are:
         user_pseudo_id, state.
        
         Example:
         "user_pseudo_id = some_id"
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListConversationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         A filter to apply on the list results. The supported features are:
         user_pseudo_id, state.
        
         Example:
         "user_pseudo_id = some_id"
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getOrderBy

        public String getOrderBy()
         A comma-separated list of fields to order by, sorted in ascending order.
         Use "desc" after a field name for descending.
         Supported fields:
           * `update_time`
           * `create_time`
           * `conversation_name`
        
         Example:
         "update_time desc"
         "create_time"
         
        string order_by = 5;
        Specified by:
        getOrderBy in interface ListConversationsRequestOrBuilder
        Returns:
        The orderBy.
      • getOrderByBytes

        public com.google.protobuf.ByteString getOrderByBytes()
         A comma-separated list of fields to order by, sorted in ascending order.
         Use "desc" after a field name for descending.
         Supported fields:
           * `update_time`
           * `create_time`
           * `conversation_name`
        
         Example:
         "update_time desc"
         "create_time"
         
        string order_by = 5;
        Specified by:
        getOrderByBytes in interface ListConversationsRequestOrBuilder
        Returns:
        The bytes for orderBy.
      • setOrderBy

        public ListConversationsRequest.Builder setOrderBy​(String value)
         A comma-separated list of fields to order by, sorted in ascending order.
         Use "desc" after a field name for descending.
         Supported fields:
           * `update_time`
           * `create_time`
           * `conversation_name`
        
         Example:
         "update_time desc"
         "create_time"
         
        string order_by = 5;
        Parameters:
        value - The orderBy to set.
        Returns:
        This builder for chaining.
      • clearOrderBy

        public ListConversationsRequest.Builder clearOrderBy()
         A comma-separated list of fields to order by, sorted in ascending order.
         Use "desc" after a field name for descending.
         Supported fields:
           * `update_time`
           * `create_time`
           * `conversation_name`
        
         Example:
         "update_time desc"
         "create_time"
         
        string order_by = 5;
        Returns:
        This builder for chaining.
      • setOrderByBytes

        public ListConversationsRequest.Builder setOrderByBytes​(com.google.protobuf.ByteString value)
         A comma-separated list of fields to order by, sorted in ascending order.
         Use "desc" after a field name for descending.
         Supported fields:
           * `update_time`
           * `create_time`
           * `conversation_name`
        
         Example:
         "update_time desc"
         "create_time"
         
        string order_by = 5;
        Parameters:
        value - The bytes for orderBy 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>