@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.Interest)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.Interest other = (org.hyperledger.fabric.protos.peer.PeerEvents.Interest) obj; boolean result = true; result = result && eventType_ == other.eventType_; result = result && getChainID() .equals(other.getChainID()); result = result && getRegInfoCase().equals( other.getRegInfoCase()); if (!result) return false; switch (regInfoCase_) { case 2: result = result && getChaincodeRegInfo() .equals(other.getChaincodeRegInfo()); 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.Interest)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.Interest other = (org.hyperledger.fabric.protos.peer.PeerEvents.Interest) obj; boolean result = true; result = result && eventType_ == other.eventType_; result = result && getChainID() .equals(other.getChainID()); result = result && getRegInfoCase().equals( other.getRegInfoCase()); if (!result) return false; switch (regInfoCase_) { case 2: result = result && getChaincodeRegInfo() .equals(other.getChaincodeRegInfo()); 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.Interest)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.Interest other = (org.hyperledger.fabric.protos.peer.PeerEvents.Interest) obj; boolean result = true; result = result && eventType_ == other.eventType_; result = result && getChainID() .equals(other.getChainID()); result = result && getRegInfoCase().equals( other.getRegInfoCase()); if (!result) return false; switch (regInfoCase_) { case 2: result = result && getChaincodeRegInfo() .equals(other.getChaincodeRegInfo()); break; case 0: default: } return result; }