Class FileSearchStore
-
- All Implemented Interfaces:
public abstract class FileSearchStore extends JsonSerializable
A collection of Documents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classFileSearchStore.BuilderBuilder for FileSearchStore.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description FileSearchStore()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()The resource name of the FileSearchStore. abstract Optional<String>displayName()The human-readable display name for the FileSearchStore. abstract Optional<Instant>createTime()The Timestamp of when the FileSearchStore was created. abstract Optional<Instant>updateTime()The Timestamp of when the FileSearchStore was last updated. abstract Optional<Long>activeDocumentsCount()The number of documents in the FileSearchStore that are active and ready for retrieval. abstract Optional<Long>pendingDocumentsCount()The number of documents in the FileSearchStore that are being processed. abstract Optional<Long>failedDocumentsCount()The number of documents in the FileSearchStore that have failed processing. abstract Optional<Long>sizeBytes()The size of raw bytes ingested into the FileSearchStore. static FileSearchStore.Builderbuilder()Instantiates a builder for FileSearchStore. abstract FileSearchStore.BuildertoBuilder()Creates a builder with the same values as this instance. static FileSearchStorefromJson(String jsonString)Deserializes a JSON string to a FileSearchStore 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
-
name
abstract Optional<String> name()
The resource name of the FileSearchStore. Example: `fileSearchStores/my-file-search-store-123`
-
displayName
abstract Optional<String> displayName()
The human-readable display name for the FileSearchStore.
-
createTime
abstract Optional<Instant> createTime()
The Timestamp of when the FileSearchStore was created.
-
updateTime
abstract Optional<Instant> updateTime()
The Timestamp of when the FileSearchStore was last updated.
-
activeDocumentsCount
abstract Optional<Long> activeDocumentsCount()
The number of documents in the FileSearchStore that are active and ready for retrieval.
-
pendingDocumentsCount
abstract Optional<Long> pendingDocumentsCount()
The number of documents in the FileSearchStore that are being processed.
-
failedDocumentsCount
abstract Optional<Long> failedDocumentsCount()
The number of documents in the FileSearchStore that have failed processing.
-
sizeBytes
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
static FileSearchStore.Builder builder()
Instantiates a builder for FileSearchStore.
-
toBuilder
abstract FileSearchStore.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static FileSearchStore fromJson(String jsonString)
Deserializes a JSON string to a FileSearchStore object.
-
-
-
-