Package com.google.genai.types
Class RegisterFilesResponse
-
- All Implemented Interfaces:
public abstract class RegisterFilesResponse extends JsonSerializable
Response for the _register file method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classRegisterFilesResponse.BuilderBuilder for RegisterFilesResponse.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description RegisterFilesResponse()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpResponse>sdkHttpResponse()Used to retain the full HTTP response. abstract Optional<List<File>>files()The registered files. static RegisterFilesResponse.Builderbuilder()Instantiates a builder for RegisterFilesResponse. abstract RegisterFilesResponse.BuildertoBuilder()Creates a builder with the same values as this instance. static RegisterFilesResponsefromJson(String jsonString)Deserializes a JSON string to a RegisterFilesResponse object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
sdkHttpResponse
abstract Optional<HttpResponse> sdkHttpResponse()
Used to retain the full HTTP response.
-
builder
static RegisterFilesResponse.Builder builder()
Instantiates a builder for RegisterFilesResponse.
-
toBuilder
abstract RegisterFilesResponse.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static RegisterFilesResponse fromJson(String jsonString)
Deserializes a JSON string to a RegisterFilesResponse object.
-
-
-
-