Package com.google.genai.types
Class CreateFileResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CreateFileResponse
Response for the create file method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for CreateFileResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateFileResponse.Builder
builder()
Instantiates a builder for CreateFileResponse.static CreateFileResponse
Deserializes a JSON string to a CreateFileResponse object.abstract Optional<HttpResponse>
Used to retain the full HTTP response.abstract CreateFileResponse.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
CreateFileResponse
public CreateFileResponse()
-
-
Method Details
-
sdkHttpResponse
Used to retain the full HTTP response. -
builder
Instantiates a builder for CreateFileResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CreateFileResponse object.
-