Class VectorStoreSearchPageResponse.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class VectorStoreSearchPageResponse.BuilderA builder for VectorStoreSearchPageResponse.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
data
final VectorStoreSearchPageResponse.Builder data(List<VectorStoreSearchResponse> data)
The list of search result items.
 
- 
                                        
data
final VectorStoreSearchPageResponse.Builder data(JsonField<List<VectorStoreSearchResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<VectorStoreSearchResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addData
final VectorStoreSearchPageResponse.Builder addData(VectorStoreSearchResponse data)
Adds a single VectorStoreSearchResponse to Builder.data.
 
- 
                                        
hasMore
final VectorStoreSearchPageResponse.Builder hasMore(Boolean hasMore)
Indicates if there are more results to fetch.
 
- 
                                        
hasMore
final VectorStoreSearchPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
nextPage
final VectorStoreSearchPageResponse.Builder nextPage(String nextPage)
The token for the next page, if any.
 
- 
                                        
nextPage
final VectorStoreSearchPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null). 
- 
                                        
nextPage
final VectorStoreSearchPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
object_
final VectorStoreSearchPageResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("vector_store.search_results.page")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
searchQuery
final VectorStoreSearchPageResponse.Builder searchQuery(List<String> searchQuery)
 
- 
                                        
searchQuery
final VectorStoreSearchPageResponse.Builder searchQuery(JsonField<List<String>> searchQuery)
Sets Builder.searchQuery to an arbitrary JSON value.
You should usually call Builder.searchQuery with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addSearchQuery
final VectorStoreSearchPageResponse.Builder addSearchQuery(String searchQuery)
Adds a single String to Builder.searchQuery.
 
- 
                                        
additionalProperties
final VectorStoreSearchPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final VectorStoreSearchPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final VectorStoreSearchPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final VectorStoreSearchPageResponse.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final VectorStoreSearchPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final VectorStoreSearchPageResponse build()
Returns an immutable instance of VectorStoreSearchPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage() .searchQuery() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -