Class FileContentPageResponse.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class FileContentPageResponse.BuilderA builder for FileContentPageResponse.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
data
final FileContentPageResponse.Builder data(List<FileContentResponse> data)
Parsed content of the file.
 
- 
                                        
data
final FileContentPageResponse.Builder data(JsonField<List<FileContentResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<FileContentResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addData
final FileContentPageResponse.Builder addData(FileContentResponse data)
Adds a single FileContentResponse to Builder.data.
 
- 
                                        
hasMore
final FileContentPageResponse.Builder hasMore(Boolean hasMore)
Indicates if there are more content pages to fetch.
 
- 
                                        
hasMore
final FileContentPageResponse.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 FileContentPageResponse.Builder nextPage(String nextPage)
The token for the next page, if any.
 
- 
                                        
nextPage
final FileContentPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null). 
- 
                                        
nextPage
final FileContentPageResponse.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 FileContentPageResponse.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.file_content.page")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final FileContentPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final FileContentPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final FileContentPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final FileContentPageResponse.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final FileContentPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final FileContentPageResponse build()
Returns an immutable instance of FileContentPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -