Class FirestoreV1.WriteFailure
java.lang.Object
org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.WriteFailure
- All Implemented Interfaces:
Serializable
- Enclosing class:
FirestoreV1
@Immutable
public static final class FirestoreV1.WriteFailure
extends Object
implements Serializable
Failure details for an attempted
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:
- The original
Write - The
WriteResultreturned by the Cloud Firestore API - The
Statusreturned by the Cloud Firestore API (oftenStatus.getMessage()will provide details of why the write was unsuccessful
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWriteFailure(com.google.firestore.v1.Write write, com.google.firestore.v1.WriteResult writeResult, com.google.rpc.Status status) -
Method Summary
-
Constructor Details
-
WriteFailure
public WriteFailure(com.google.firestore.v1.Write write, com.google.firestore.v1.WriteResult writeResult, com.google.rpc.Status status)
-
-
Method Details