com.google.firebase.firestore
Annotations
DocumentId | Annotation used to mark a POJO property to be automatically populated with the document's ID when the POJO is created from a Cloud Firestore document (for example, via |
Exclude | Marks a field as excluded from the database instance. |
IgnoreExtraProperties | Properties that don't map to class fields are ignored when serializing to a class annotated with this annotation. |
PropertyName | Marks a field to be renamed when serialized. |
ServerTimestamp | Annotation used to mark a timestamp field to be populated with a server timestamp. |
ThrowOnExtraProperties | Properties that don't map to class fields when serializing to a class annotated with this annotation cause an exception to be thrown. |
Interfaces
EventListener | An interface for event listeners. |
ListenerRegistration | Represents a listener that can be removed by calling |
LocalCacheSettings | Marker interface implemented by all supported cache settings. |
MemoryGarbageCollectorSettings | |
OnProgressListener | A listener that is called periodically during execution of a |
Transaction.Function | An interface for providing code to be executed within a transaction context. |
WriteBatch.Function | An interface for providing code to be executed within a |
Classes
AggregateField | Represents an aggregation that can be performed by Firestore. |
AggregateField.AverageAggregateField | Represents an "average" aggregation that can be performed by Firestore. |
AggregateField.CountAggregateField | Represents a "count" aggregation that can be performed by Firestore. |
AggregateField.SumAggregateField | Represents a "sum" aggregation that can be performed by Firestore. |
AggregateQuery | A query that calculates aggregations over an underlying query. |
AggregateQuerySnapshot | The results of executing an |
Blob | Immutable class representing an array of bytes in Cloud Firestore. |
CollectionReference | A |
DocumentChange | A |
DocumentReference | A |
DocumentSnapshot | A |
FieldPath | A |
FieldValue | Sentinel values that can be used when writing document fields with |
Filter | A |
FirebaseFirestore | Represents a Cloud Firestore database and is the entry point for all Cloud Firestore operations. |
FirebaseFirestoreSettings | Settings used to configure a |
FirebaseFirestoreSettings.Builder | A Builder for creating |
FirestoreKt | |
GeoPoint | Immutable class representing a |
LoadBundleTask | Represents the task of loading a Firestore bundle. |
LoadBundleTaskProgress | Represents a progress update or a final state from loading bundles. |
MemoryCacheSettings | Configures the SDK to use a memory cache. |
MemoryCacheSettings.Builder | A Builder for creating |
MemoryEagerGcSettings | Configures the SDK to use an eager garbage collector for memory cache. |
MemoryEagerGcSettings.Builder | |
MemoryLruGcSettings | Configures the SDK to use a Least-Recently-Used garbage collector for memory cache. |
MemoryLruGcSettings.Builder | |
PersistentCacheIndexManager | Persistent cache indexes can improve performance of local query execution. |
PersistentCacheSettings | Configures the SDK to use a persistent cache. |
PersistentCacheSettings.Builder | A Builder for creating |
Query | A |
QueryDocumentSnapshot | A |
QuerySnapshot | A |
SetOptions | An options object that configures the behavior of |
SnapshotListenOptions | An options object that configures the behavior of |
SnapshotListenOptions.Builder | Builder for constructing |
SnapshotMetadata | Metadata about a snapshot, describing the state of the snapshot. |
Transaction | A |
TransactionOptions | Options to customize transaction behavior for |
TransactionOptions.Builder | A Builder for creating |
VectorValue | Represent a vector type in Firestore documents. |
WriteBatch | A write batch, used to perform multiple writes as a single atomic unit. |
Enums
AggregateSource | The sources from which an |
DocumentChange.Type | An enumeration of snapshot diff types. |
DocumentSnapshot.ServerTimestampBehavior | Controls the return value for server timestamps that have not yet been set to their final value. |
FirebaseFirestoreException.Code | The set of Cloud Firestore status codes. |
ListenSource | Configures the source option of |
LoadBundleTaskProgress.TaskState | Represents the state of bundle loading tasks. |
MetadataChanges | Indicates whether metadata-only changes (that is, only |
Query.Direction | An enum for the direction of a sort. |
Source | Configures the behavior of |
Exceptions
FirebaseFirestoreException | A class of exceptions thrown by Cloud Firestore. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-21 UTC.