Package com.google.cloud.firestore
Class WriteResult
java.lang.Object
com.google.cloud.firestore.WriteResult
A WriteResult exposes the update time set by the server.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this WriteResult is equal to the provided object.com.google.cloud.TimestampThe update time as exposed by the server.inthashCode()
-
Method Details
-
getUpdateTime
The update time as exposed by the server. Can be used inPrecondition.updatedAt(com.google.cloud.Timestamp).- Returns:
- The update time of the corresponding write.
-
equals
Returns true if this WriteResult is equal to the provided object. -
hashCode
public int hashCode()
-