@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_NAME_FIELD_NUMBER; hash = (53 * hash) + getChaincodeName().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.LifecycleEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) obj; boolean result = true; result = result && getChaincodeName() .equals(other.getChaincodeName()); return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }
@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.LifecycleEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) obj; boolean result = true; result = result && getChaincodeName() .equals(other.getChaincodeName()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_NAME_FIELD_NUMBER; hash = (53 * hash) + getChaincodeName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder clearChaincodeName() { chaincodeName_ = getDefaultInstance().getChaincodeName(); onChanged(); return this; } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder clearChaincodeName() { chaincodeName_ = getDefaultInstance().getChaincodeName(); onChanged(); return this; } /**