ProtobufMessages.Trigger.IntervalTrigger _interval = _trigger.getInterval(); IntervalTrigger trigger = new IntervalTrigger(); trigger.setStartTime( new Date( _interval.getStartTime() ) );
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Trigger other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasCron()) { mergeCron(other.getCron()); } if (other.hasInterval()) { mergeInterval(other.getInterval()); } if (other.hasPit()) { mergePit(other.getPit()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }