Package com.google.genai.types
Class UploadToFileSearchStoreResponse
-
- All Implemented Interfaces:
public abstract class UploadToFileSearchStoreResponse extends JsonSerializable
The response when long-running operation for uploading a file to a FileSearchStore complete.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classUploadToFileSearchStoreResponse.BuilderBuilder for UploadToFileSearchStoreResponse.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description UploadToFileSearchStoreResponse()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpResponse>sdkHttpResponse()Used to retain the full HTTP response. abstract Optional<String>parent()The name of the FileSearchStore containing Documents. abstract Optional<String>documentName()The identifier for the Document imported. static UploadToFileSearchStoreResponse.Builderbuilder()Instantiates a builder for UploadToFileSearchStoreResponse. abstract UploadToFileSearchStoreResponse.BuildertoBuilder()Creates a builder with the same values as this instance. static UploadToFileSearchStoreResponsefromJson(String jsonString)Deserializes a JSON string to a UploadToFileSearchStoreResponse 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.
-
documentName
abstract Optional<String> documentName()
The identifier for the Document imported.
-
builder
static UploadToFileSearchStoreResponse.Builder builder()
Instantiates a builder for UploadToFileSearchStoreResponse.
-
toBuilder
abstract UploadToFileSearchStoreResponse.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static UploadToFileSearchStoreResponse fromJson(String jsonString)
Deserializes a JSON string to a UploadToFileSearchStoreResponse object.
-
-
-
-