@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().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.PeerEvents.ChaincodeReg)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other = (org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getEventName() .equals(other.getEventName()); return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; 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.PeerEvents.ChaincodeReg)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other = (org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getEventName() .equals(other.getEventName()); 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.ChaincodeReg)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other = (org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getEventName() .equals(other.getEventName()); 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_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().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(); hash = (37 * hash) + CHAINCODE_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } onChanged(); return this; }
/** * <code>optional string event_name = 2;</code> */ public Builder clearEventName() { eventName_ = getDefaultInstance().getEventName(); onChanged(); return this; } /**
/** * <code>optional string event_name = 2;</code> */ public Builder clearEventName() { eventName_ = getDefaultInstance().getEventName(); onChanged(); return this; } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.ChaincodeReg.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } onChanged(); return this; }
/** * <code>optional string event_name = 2;</code> */ public Builder clearEventName() { eventName_ = getDefaultInstance().getEventName(); onChanged(); return this; } /**