Class ImportFileResponse

  • All Implemented Interfaces:

    
    public abstract class ImportFileResponse
    extends JsonSerializable
                        

    Response for ImportFile to import a File API file with a file search store.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class ImportFileResponse.Builder

      Builder for ImportFileResponse.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 ImportFileResponse.Builder builder() Instantiates a builder for ImportFileResponse.
      abstract ImportFileResponse.Builder toBuilder() Creates a builder with the same values as this instance.
      static ImportFileResponse fromJson(String jsonString) Deserializes a JSON string to a ImportFileResponse 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