Package com.google.genai.types
Class ImportFileResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ImportFileResponse
Response for ImportFile to import a File API file with a file search store.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ImportFileResponse. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportFileResponse.Builderbuilder()Instantiates a builder for ImportFileResponse.The identifier for the Document imported.static ImportFileResponseDeserializes a JSON string to a ImportFileResponse object.parent()The name of the FileSearchStore containing Documents.abstract Optional<HttpResponse>Used to retain the full HTTP response.abstract ImportFileResponse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
ImportFileResponse
public ImportFileResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
parent
The name of the FileSearchStore containing Documents. -
documentName
The identifier for the Document imported. -
builder
Instantiates a builder for ImportFileResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ImportFileResponse object.
-