Package com.google.genai.types
Class ListDocumentsResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ListDocumentsResponse
Config for documents.list return value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ListDocumentsResponse. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for ListDocumentsResponse.The returned `Document`s.static ListDocumentsResponseDeserializes a JSON string to a ListDocumentsResponse object.A token, which can be sent as `page_token` to retrieve the next page.abstract Optional<HttpResponse>Used to retain the full HTTP response.abstract ListDocumentsResponse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
ListDocumentsResponse
public ListDocumentsResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
nextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no more pages. -
documents
The returned `Document`s. -
builder
Instantiates a builder for ListDocumentsResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ListDocumentsResponse object.
-