public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) return this; if (other.hasWorkItemId()) { setWorkItemId(other.getWorkItemId()); } if (!other.timerInstanceId_.isEmpty()) { if (timerInstanceId_.isEmpty()) { timerInstanceId_ = other.timerInstanceId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); } onChanged(); } if (other.hasErrorHandlingProcessInstanceId()) { setErrorHandlingProcessInstanceId(other.getErrorHandlingProcessInstanceId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setWorkItemId( ((HumanTaskNodeInstance) nodeInstance).getWorkItemId() ); List<Long> timerInstances = ((HumanTaskNodeInstance) nodeInstance).getTimerInstances();
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) return this; if (other.hasWorkItemId()) { setWorkItemId(other.getWorkItemId()); } if (!other.timerInstanceId_.isEmpty()) { if (timerInstanceId_.isEmpty()) { timerInstanceId_ = other.timerInstanceId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); } onChanged(); } if (other.hasErrorHandlingProcessInstanceId()) { setErrorHandlingProcessInstanceId(other.getErrorHandlingProcessInstanceId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setWorkItemId( ((HumanTaskNodeInstance) nodeInstance).getWorkItemId() ); List<Long> timerInstances = ((HumanTaskNodeInstance) nodeInstance).getTimerInstances();