public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.Interest other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.Interest.getDefaultInstance()) return this; if (other.eventType_ != 0) { setEventTypeValue(other.getEventTypeValue()); } if (!other.getChainID().isEmpty()) { chainID_ = other.chainID_; onChanged(); } switch (other.getRegInfoCase()) { case CHAINCODE_REG_INFO: { mergeChaincodeRegInfo(other.getChaincodeRegInfo()); break; } case REGINFO_NOT_SET: { break; } } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.Interest other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.Interest.getDefaultInstance()) return this; if (other.eventType_ != 0) { setEventTypeValue(other.getEventTypeValue()); } if (!other.getChainID().isEmpty()) { chainID_ = other.chainID_; onChanged(); } switch (other.getRegInfoCase()) { case CHAINCODE_REG_INFO: { mergeChaincodeRegInfo(other.getChaincodeRegInfo()); break; } case REGINFO_NOT_SET: { break; } } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.Interest other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.Interest.getDefaultInstance()) return this; if (other.eventType_ != 0) { setEventTypeValue(other.getEventTypeValue()); } if (!other.getChainID().isEmpty()) { chainID_ = other.chainID_; onChanged(); } switch (other.getRegInfoCase()) { case CHAINCODE_REG_INFO: { mergeChaincodeRegInfo(other.getChaincodeRegInfo()); break; } case REGINFO_NOT_SET: { break; } } onChanged(); return this; }