@Immutable public static final class FirestoreV1.WriteFailure extends java.lang.Object implements java.io.Serializable
Write. When a Write is unable to be applied an instance of this class will be
created with the details of the failure.
Included data:
Write
WriteResult returned by the Cloud Firestore API
Status returned by the Cloud Firestore API (often Status.getMessage()
will provide details of why the write was unsuccessful
| Constructor and Description |
|---|
WriteFailure(com.google.firestore.v1.Write write,
com.google.firestore.v1.WriteResult writeResult,
com.google.rpc.Status status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable java.lang.Object o) |
com.google.rpc.Status |
getStatus() |
com.google.firestore.v1.Write |
getWrite() |
com.google.firestore.v1.WriteResult |
getWriteResult() |
int |
hashCode() |
public WriteFailure(com.google.firestore.v1.Write write,
com.google.firestore.v1.WriteResult writeResult,
com.google.rpc.Status status)
public com.google.firestore.v1.Write getWrite()
public com.google.firestore.v1.WriteResult getWriteResult()
public com.google.rpc.Status getStatus()
public boolean equals(@Nullable java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object