Class FileSearchStore

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.FileSearchStore

public abstract class FileSearchStore extends JsonSerializable
A collection of Documents.
  • Constructor Details

    • FileSearchStore

      public FileSearchStore()
  • Method Details

    • name

      public abstract Optional<String> name()
      The resource name of the FileSearchStore. Example: `fileSearchStores/my-file-search-store-123`
    • displayName

      public abstract Optional<String> displayName()
      The human-readable display name for the FileSearchStore.
    • createTime

      public abstract Optional<Instant> createTime()
      The Timestamp of when the FileSearchStore was created.
    • updateTime

      public abstract Optional<Instant> updateTime()
      The Timestamp of when the FileSearchStore was last updated.
    • activeDocumentsCount

      public abstract Optional<Long> activeDocumentsCount()
      The number of documents in the FileSearchStore that are active and ready for retrieval.
    • pendingDocumentsCount

      public abstract Optional<Long> pendingDocumentsCount()
      The number of documents in the FileSearchStore that are being processed.
    • failedDocumentsCount

      public abstract Optional<Long> failedDocumentsCount()
      The number of documents in the FileSearchStore that have failed processing.
    • sizeBytes

      public abstract Optional<Long> sizeBytes()
      The size of raw bytes ingested into the FileSearchStore. This is the total size of all the documents in the FileSearchStore.
    • builder

      public static FileSearchStore.Builder builder()
      Instantiates a builder for FileSearchStore.
    • toBuilder

      public abstract FileSearchStore.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static FileSearchStore fromJson(String jsonString)
      Deserializes a JSON string to a FileSearchStore object.