Package com.google.genai.types
Class RegisterFilesResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.RegisterFilesResponse
Response for the _register file method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for RegisterFilesResponse. -
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 RegisterFilesResponse.files()The registered files.static RegisterFilesResponseDeserializes a JSON string to a RegisterFilesResponse object.abstract Optional<HttpResponse>Used to retain the full HTTP response.abstract RegisterFilesResponse.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
-
RegisterFilesResponse
public RegisterFilesResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
files
The registered files. -
builder
Instantiates a builder for RegisterFilesResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a RegisterFilesResponse object.
-