@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec) obj; boolean result = true; result = result && type_ == other.type_; result = result && (hasChaincodeId() == other.hasChaincodeId()); if (hasChaincodeId()) { result = result && getChaincodeId() .equals(other.getChaincodeId()); } result = result && (hasInput() == other.hasInput()); if (hasInput()) { result = result && getInput() .equals(other.getInput()); } result = result && (getTimeout() == other.getTimeout()); 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.Chaincode.ChaincodeSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec) obj; boolean result = true; result = result && type_ == other.type_; result = result && (hasChaincodeId() == other.hasChaincodeId()); if (hasChaincodeId()) { result = result && getChaincodeId() .equals(other.getChaincodeId()); } result = result && (hasInput() == other.hasInput()); if (hasInput()) { result = result && getInput() .equals(other.getInput()); } result = result && (getTimeout() == other.getTimeout()); 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.Chaincode.ChaincodeSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec) obj; boolean result = true; result = result && type_ == other.type_; result = result && (hasChaincodeId() == other.hasChaincodeId()); if (hasChaincodeId()) { result = result && getChaincodeId() .equals(other.getChaincodeId()); } result = result && (hasInput() == other.hasInput()); if (hasInput()) { result = result && getInput() .equals(other.getInput()); } result = result && (getTimeout() == other.getTimeout()); 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.Chaincode.ChaincodeSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeSpec) obj; boolean result = true; result = result && type_ == other.type_; result = result && (hasChaincodeId() == other.hasChaincodeId()); if (hasChaincodeId()) { result = result && getChaincodeId() .equals(other.getChaincodeId()); } result = result && (hasInput() == other.hasInput()); if (hasInput()) { result = result && getInput() .equals(other.getInput()); } result = result && (getTimeout() == other.getTimeout()); return result; }