@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasChaincodeSpec()) { hash = (37 * hash) + CHAINCODE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getChaincodeSpec().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.ChaincodeInvocationSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec) obj; boolean result = true; result = result && (hasChaincodeSpec() == other.hasChaincodeSpec()); if (hasChaincodeSpec()) { result = result && getChaincodeSpec() .equals(other.getChaincodeSpec()); } return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasChaincodeSpec()) { hash = (37 * hash) + CHAINCODE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getChaincodeSpec().hashCode(); } hash = (37 * hash) + ID_GENERATION_ALG_FIELD_NUMBER; hash = (53 * hash) + getIdGenerationAlg().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.ChaincodeInvocationSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec) obj; boolean result = true; result = result && (hasChaincodeSpec() == other.hasChaincodeSpec()); if (hasChaincodeSpec()) { result = result && getChaincodeSpec() .equals(other.getChaincodeSpec()); } result = result && getIdGenerationAlg() .equals(other.getIdGenerationAlg()); 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.ChaincodeInvocationSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec) obj; boolean result = true; result = result && (hasChaincodeSpec() == other.hasChaincodeSpec()); if (hasChaincodeSpec()) { result = result && getChaincodeSpec() .equals(other.getChaincodeSpec()); } result = result && getIdGenerationAlg() .equals(other.getIdGenerationAlg()); 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.ChaincodeInvocationSpec)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec) obj; boolean result = true; result = result && (hasChaincodeSpec() == other.hasChaincodeSpec()); if (hasChaincodeSpec()) { result = result && getChaincodeSpec() .equals(other.getChaincodeSpec()); } return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasChaincodeSpec()) { hash = (37 * hash) + CHAINCODE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getChaincodeSpec().hashCode(); } hash = (37 * hash) + ID_GENERATION_ALG_FIELD_NUMBER; hash = (53 * hash) + getIdGenerationAlg().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasChaincodeSpec()) { hash = (37 * hash) + CHAINCODE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getChaincodeSpec().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } if (!other.getIdGenerationAlg().isEmpty()) { idGenerationAlg_ = other.idGenerationAlg_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } if (!other.getIdGenerationAlg().isEmpty()) { idGenerationAlg_ = other.idGenerationAlg_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInvocationSpec.getDefaultInstance()) return this; if (other.hasChaincodeSpec()) { mergeChaincodeSpec(other.getChaincodeSpec()); } onChanged(); return this; }