Get desktop application:
View/edit binary Protocol Buffers messages
A Firestore bundle is a length-prefixed stream of JSON representations of `BundleElement`. Only one `BundleMetadata` is expected, and it should be the first element. The named queries follow after `metadata`. If a document exists when the bundle is built, `document_metadata` is immediately followed by the `document`, otherwise `document_metadata` will present by itself.
Metadata describing the bundle file/stream.
Used in:
The ID of the bundle.
Time at which the documents snapshot is taken for this bundle.
The schema version of the bundle.
The number of documents in the bundle.
The size of the bundle in bytes, excluding this `BundleMetadata`.
Metadata describing a Firestore document saved in the bundle.
Used in:
The document key of a bundled document.
The snapshot version of the document data bundled.
Whether the document exists.
The names of the queries in this bundle that this document matches to.
Describes a query saved in the bundle.
Used in:
The parent resource name.
The query to run.
A structured query.
If the query is a limit query, should the limit be applied to the beginning or the end of results.
Used in:
A Query associated with a name, created as part of the bundle file, and can be read by client SDKs once the bundle containing them is loaded.
Used in:
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
The query saved in the bundle.
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.