@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.firestore.v1beta1.DocumentChange)) { return super.equals(obj); } com.google.firestore.v1beta1.DocumentChange other = (com.google.firestore.v1beta1.DocumentChange) obj; boolean result = true; result = result && (hasDocument() == other.hasDocument()); if (hasDocument()) { result = result && getDocument().equals(other.getDocument()); } result = result && getTargetIdsList().equals(other.getTargetIdsList()); result = result && getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.firestore.v1beta1.CreateDocumentRequest)) { return super.equals(obj); } com.google.firestore.v1beta1.CreateDocumentRequest other = (com.google.firestore.v1beta1.CreateDocumentRequest) obj; boolean result = true; result = result && getParent().equals(other.getParent()); result = result && getCollectionId().equals(other.getCollectionId()); result = result && getDocumentId().equals(other.getDocumentId()); result = result && (hasDocument() == other.hasDocument()); if (hasDocument()) { result = result && getDocument().equals(other.getDocument()); } result = result && (hasMask() == other.hasMask()); if (hasMask()) { result = result && getMask().equals(other.getMask()); } result = result && unknownFields.equals(other.unknownFields); return result; }
switch (resultCase_) { case 1: result = result && getFound().equals(other.getFound()); break; case 2:
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.firestore.v1beta1.RunQueryResponse)) { return super.equals(obj); } com.google.firestore.v1beta1.RunQueryResponse other = (com.google.firestore.v1beta1.RunQueryResponse) obj; boolean result = true; result = result && getTransaction().equals(other.getTransaction()); result = result && (hasDocument() == other.hasDocument()); if (hasDocument()) { result = result && getDocument().equals(other.getDocument()); } result = result && (hasReadTime() == other.hasReadTime()); if (hasReadTime()) { result = result && getReadTime().equals(other.getReadTime()); } result = result && (getSkippedResults() == other.getSkippedResults()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.firestore.conformance.TestDefinition.DocChange)) { return super.equals(obj); } com.google.cloud.firestore.conformance.TestDefinition.DocChange other = (com.google.cloud.firestore.conformance.TestDefinition.DocChange) obj; boolean result = true; result = result && kind_ == other.kind_; result = result && (hasDoc() == other.hasDoc()); if (hasDoc()) { result = result && getDoc().equals(other.getDoc()); } result = result && (getOldIndex() == other.getOldIndex()); result = result && (getNewIndex() == other.getNewIndex()); result = result && unknownFields.equals(other.unknownFields); return result; }
switch (operationCase_) { case 1: result = result && getUpdate().equals(other.getUpdate()); break; case 2:
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.firestore.v1beta1.UpdateDocumentRequest)) { return super.equals(obj); } com.google.firestore.v1beta1.UpdateDocumentRequest other = (com.google.firestore.v1beta1.UpdateDocumentRequest) obj; boolean result = true; result = result && (hasDocument() == other.hasDocument()); if (hasDocument()) { result = result && getDocument().equals(other.getDocument()); } result = result && (hasUpdateMask() == other.hasUpdateMask()); if (hasUpdateMask()) { result = result && getUpdateMask().equals(other.getUpdateMask()); } result = result && (hasMask() == other.hasMask()); if (hasMask()) { result = result && getMask().equals(other.getMask()); } result = result && (hasCurrentDocument() == other.hasCurrentDocument()); if (hasCurrentDocument()) { result = result && getCurrentDocument().equals(other.getCurrentDocument()); } result = result && unknownFields.equals(other.unknownFields); return result; }