@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction other = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction) obj; boolean result = true; result = result && getTxid() .equals(other.getTxid()); result = result && type_ == other.type_; result = result && txValidationCode_ == other.txValidationCode_; result = result && getDataCase().equals( other.getDataCase()); if (!result) return false; switch (dataCase_) { case 4: result = result && getTransactionActions() .equals(other.getTransactionActions()); break; case 0: default: } return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction other = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction) obj; boolean result = true; result = result && getTxid() .equals(other.getTxid()); result = result && type_ == other.type_; result = result && txValidationCode_ == other.txValidationCode_; result = result && getDataCase().equals( other.getDataCase()); if (!result) return false; switch (dataCase_) { case 4: result = result && getTransactionActions() .equals(other.getTransactionActions()); break; case 0: default: } return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction other = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction) obj; boolean result = true; result = result && getTxid() .equals(other.getTxid()); result = result && type_ == other.type_; result = result && txValidationCode_ == other.txValidationCode_; result = result && getDataCase().equals( other.getDataCase()); if (!result) return false; switch (dataCase_) { case 4: result = result && getTransactionActions() .equals(other.getTransactionActions()); break; case 0: default: } return result; }