Package com.google.genai.types
Class FunctionResponseFileData
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.FunctionResponseFileData
URI based data for function response.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for FunctionResponseFileData. -
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 FunctionResponseFileData.Optional.fileUri()Required.static FunctionResponseFileDataDeserializes a JSON string to a FunctionResponseFileData object.mimeType()Required.abstract FunctionResponseFileData.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
FunctionResponseFileData
public FunctionResponseFileData()
-
-
Method Details
-
fileUri
Required. URI. -
mimeType
Required. The IANA standard MIME type of the source data. -
displayName
Optional. Display name of the file. Used to provide a label or filename to distinguish files. -
builder
Instantiates a builder for FunctionResponseFileData. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a FunctionResponseFileData object.
-