Package com.google.cloud.firestore.annotation
package com.google.cloud.firestore.annotation
-
Annotation TypesClassDescriptionAnnotation 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>)).Marks a field as excluded from the Database.Properties that don't map to class fields are ignored when serializing to a class annotated with this annotation.Marks a field to be renamed when serialized.Annotation used to mark a timestamp field as being populated via Server Timestamps.Properties that don't map to class fields when serializing to a class annotated with this annotation cause an exception to be thrown.