| Annotation Type | Description |
|---|---|
| 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
DocumentSnapshot.toObject(java.lang.Class<T>)). |
| Exclude |
Marks a field as excluded from the Database.
|
| 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 as being populated via Server Timestamps.
|
| ThrowOnExtraProperties |
Properties that don't map to class fields when serializing to a class annotated with this
annotation cause an exception to be thrown.
|
Copyright © 2019 Google LLC. All rights reserved.