Class FileSearchStore.Builder
- Enclosing class:
- FileSearchStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FileSearchStore.BuilderactiveDocumentsCount(Long activeDocumentsCount) Setter for activeDocumentsCount.abstract FileSearchStorebuild()Clears the value of activeDocumentsCount field.Clears the value of createTime field.Clears the value of displayName field.Clears the value of embeddingModel field.Clears the value of failedDocumentsCount field.Clears the value of name field.Clears the value of pendingDocumentsCount field.Clears the value of sizeBytes field.Clears the value of updateTime field.abstract FileSearchStore.BuildercreateTime(Instant createTime) Setter for createTime.abstract FileSearchStore.BuilderdisplayName(String displayName) Setter for displayName.abstract FileSearchStore.BuilderembeddingModel(String embeddingModel) Setter for embeddingModel.abstract FileSearchStore.BuilderfailedDocumentsCount(Long failedDocumentsCount) Setter for failedDocumentsCount.abstract FileSearchStore.BuilderSetter for name.abstract FileSearchStore.BuilderpendingDocumentsCount(Long pendingDocumentsCount) Setter for pendingDocumentsCount.abstract FileSearchStore.BuilderSetter for sizeBytes.abstract FileSearchStore.BuilderupdateTime(Instant updateTime) Setter for updateTime.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Setter for name.name: Output only. Immutable. Identifier. The `FileSearchStore` resource name. It is an ID (name excluding the "fileSearchStores/" prefix) that can contain up to 40 characters that are lowercase alphanumeric or dashes (-). It is output only. The unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/my-awesome-file-search-store-123a456b789c` If `display_name` is not provided, the name will be randomly generated.
-
clearName
Clears the value of name field. -
displayName
Setter for displayName.displayName: Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever".
-
clearDisplayName
Clears the value of displayName field. -
createTime
Setter for createTime.createTime: Output only. The Timestamp of when the `FileSearchStore` was created.
-
clearCreateTime
Clears the value of createTime field. -
updateTime
Setter for updateTime.updateTime: Output only. The Timestamp of when the `FileSearchStore` was last updated.
-
clearUpdateTime
Clears the value of updateTime field. -
activeDocumentsCount
Setter for activeDocumentsCount.activeDocumentsCount: Output only. The number of documents in the `FileSearchStore` that are active and ready for retrieval.
-
clearActiveDocumentsCount
Clears the value of activeDocumentsCount field. -
pendingDocumentsCount
Setter for pendingDocumentsCount.pendingDocumentsCount: Output only. The number of documents in the `FileSearchStore` that are being processed.
-
clearPendingDocumentsCount
Clears the value of pendingDocumentsCount field. -
failedDocumentsCount
Setter for failedDocumentsCount.failedDocumentsCount: Output only. The number of documents in the `FileSearchStore` that have failed processing.
-
clearFailedDocumentsCount
Clears the value of failedDocumentsCount field. -
sizeBytes
Setter for sizeBytes.sizeBytes: Output only. The size of raw bytes ingested into the `FileSearchStore`. This is the total size of all the documents in the `FileSearchStore`.
-
clearSizeBytes
Clears the value of sizeBytes field. -
embeddingModel
Setter for embeddingModel.embeddingModel: The embedding model used by the FileSearchStore.
-
clearEmbeddingModel
Clears the value of embeddingModel field. -
build
-