@@ -34,7 +34,8 @@ message NoDocument {
34
34
google.protobuf.Timestamp read_time = 2 ;
35
35
}
36
36
37
- // A message indicating that the document that is known to exist but its data is unknown.
37
+ // A message indicating that the document that is known to exist but its data
38
+ // is unknown.
38
39
message UnknownDocument {
39
40
// The name of the document that is known to exist, in the standard format:
40
41
// `projects/{project_id}/databases/{database_id}/documents/{document_path}`
@@ -44,8 +45,9 @@ message UnknownDocument {
44
45
google.protobuf.Timestamp version = 2 ;
45
46
}
46
47
47
- // Represents either an existing document, the explicitly known absence of a document, or a document
48
- // that is known to exist (at some version) but whose contents are unknown
48
+ // Represents either an existing document, the explicitly known absence of a
49
+ // document, or a document that is known to exist (at some version) but whose
50
+ // contents are unknown.
49
51
message MaybeDocument {
50
52
oneof document_type {
51
53
// Used if the document is known to not exist.
@@ -54,12 +56,13 @@ message MaybeDocument {
54
56
// The document (if it exists).
55
57
google.firestore.v1beta1.Document document = 2 ;
56
58
57
- // Used if the document is known to exist but its data is unknown
59
+ // Used if the document is known to exist but its data is unknown.
58
60
UnknownDocument unknown_document = 3 ;
59
61
}
60
62
61
- // `hasCommittedMutations` marks documents that were written to the remote socument store based
62
- // on a write acknowledgment. These documents are potentially inconsistent with the backend's
63
- // copy and use the write's commit version as their document version.
64
- bool hasCommittedMutations = 4 ;
63
+ // `has_committed_mutations` marks documents that were written to the remote
64
+ // document store based on a write acknowledgment. These documents are
65
+ // potentially inconsistent with the backend's copy and use the write's
66
+ // commit version as their document version.
67
+ bool has_committed_mutations = 4 ;
65
68
}
0 commit comments