what-the-bank/sources/com/google/firebase/firestore/remote/RemoteEvent.java

61 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.firestore.remote;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.firebase.firestore.model.DocumentKey;
import com.google.firebase.firestore.model.MutableDocument;
import com.google.firebase.firestore.model.SnapshotVersion;
import java.util.Map;
import java.util.Set;
/* loaded from: classes2.dex */
public final class RemoteEvent {
private final Map<DocumentKey, MutableDocument> documentUpdates;
private final Set<DocumentKey> resolvedLimboDocuments;
private final SnapshotVersion snapshotVersion;
private final Map<Integer, TargetChange> targetChanges;
private final Set<Integer> targetMismatches;
public RemoteEvent(SnapshotVersion snapshotVersion, Map<Integer, TargetChange> map, Set<Integer> set, Map<DocumentKey, MutableDocument> map2, Set<DocumentKey> set2) {
this.snapshotVersion = snapshotVersion;
this.targetChanges = map;
this.targetMismatches = set;
this.documentUpdates = map2;
this.resolvedLimboDocuments = set2;
}
public final String toString() {
StringBuilder sb = new StringBuilder("RemoteEvent{snapshotVersion=");
sb.append(this.snapshotVersion);
sb.append(", targetChanges=");
sb.append(this.targetChanges);
sb.append(", targetMismatches=");
sb.append(this.targetMismatches);
sb.append(", documentUpdates=");
sb.append(this.documentUpdates);
sb.append(", resolvedLimboDocuments=");
sb.append(this.resolvedLimboDocuments);
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
public final Set<Integer> getTargetMismatches() {
return this.targetMismatches;
}
public final Map<Integer, TargetChange> getTargetChanges() {
return this.targetChanges;
}
public final SnapshotVersion getSnapshotVersion() {
return this.snapshotVersion;
}
public final Set<DocumentKey> getResolvedLimboDocuments() {
return this.resolvedLimboDocuments;
}
public final Map<DocumentKey, MutableDocument> getDocumentUpdates() {
return this.documentUpdates;
}
}