public static final class FirestoreBundle.Builder extends Object
Modifier and Type | Method and Description |
---|---|
FirestoreBundle.Builder |
add(DocumentSnapshot documentSnapshot)
Adds a Firestore document snapshot to the bundle.
|
FirestoreBundle.Builder |
add(String queryName,
QuerySnapshot querySnap)
Adds a Firestore query snapshot to the bundle.
|
FirestoreBundle |
build() |
String |
getId()
Returns the ID for this bundle.
|
public String getId()
public FirestoreBundle.Builder add(DocumentSnapshot documentSnapshot)
documentSnapshot
- A document snapshot to add.public FirestoreBundle.Builder add(String queryName, QuerySnapshot querySnap)
queryName
- The name of the query to add.querySnap
- The query snapshot to add.public FirestoreBundle build()
Copyright © 2023 Google LLC. All rights reserved.