google-cloud-firestore overview (3.20.0) Stay organized with collections Save and categorize content based on your preferences.
com.google.cloud.firestore
com.google.cloud.firestore.annotation
com.google.cloud.firestore.collection
com.google.cloud.firestore.spi.v1
com.google.cloud.firestore.v1
A client to Cloud Firestore API
The interfaces provided are listed below, along with usage samples.
FirestoreClient
Service Description: The Cloud Firestore service.
Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL document database that simplifies storing, syncing, and querying data for your mobile, web, and IoT apps at global scale. Its client libraries provide live synchronization and offline support, while its security features and integrations with Firebase and Google Cloud Platform accelerate building truly serverless apps.
Sample for FirestoreClient:
// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_librarytry(FirestoreClientfirestoreClient=FirestoreClient.create()){GetDocumentRequestrequest=GetDocumentRequest.newBuilder().setName("name3373707").setMask(DocumentMask.newBuilder().build()).build();Documentresponse=firestoreClient.getDocument(request);}com.google.cloud.firestore.v1.stub
com.google.firestore.admin.v1
com.google.firestore.bundle
com.google.firestore.v1
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 2026-02-01 UTC.