@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer) obj; boolean result = true; result = result && (hasTimer() == other.hasTimer()); if (hasTimer()) { result = result && getTimer() .equals(other.getTimer()); } result = result && (hasTrigger() == other.hasTrigger()); if (hasTrigger()) { result = result && getTrigger() .equals(other.getTrigger()); } result = result && unknownFields.equals(other.unknownFields); return result; }
hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); if (hasTimerId()) { hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimerId()); if (hasDelay()) { hash = (37 * hash) + DELAY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDelay()); if (hasPeriod()) { hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPeriod()); if (hasProcessInstanceId()) { hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProcessInstanceId()); if (hasActivatedTime()) { hash = (37 * hash) + ACTIVATED_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public Builder mergeTimer(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance value) { if (timerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && timer_ != null && timer_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance()) { timer_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.newBuilder(timer_).mergeFrom(value).buildPartial(); } else { timer_ = value; } onChanged(); } else { timerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); result = result && (hasTimerId() == other.hasTimerId()); if (hasTimerId()) { result = result && (getTimerId() == other.getTimerId()); result = result && (hasDelay() == other.hasDelay()); if (hasDelay()) { result = result && (getDelay() == other.getDelay()); result = result && (hasPeriod() == other.hasPeriod()); if (hasPeriod()) { result = result && (getPeriod() == other.getPeriod()); result = result && (hasProcessInstanceId() == other.hasProcessInstanceId()); if (hasProcessInstanceId()) { result = result && (getProcessInstanceId() == other.getProcessInstanceId()); result = result && (hasActivatedTime() == other.hasActivatedTime()); if (hasActivatedTime()) { result = result && (getActivatedTime() == other.getActivatedTime());
hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); if (hasTimerId()) { hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimerId()); if (hasDelay()) { hash = (37 * hash) + DELAY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDelay()); if (hasPeriod()) { hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPeriod()); if (hasProcessInstanceId()) { hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProcessInstanceId()); if (hasActivatedTime()) { hash = (37 * hash) + ACTIVATED_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance buildPartial() { org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance result = new org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); if (other.hasTimerId()) { setTimerId(other.getTimerId()); if (other.hasDelay()) { setDelay(other.getDelay()); if (other.hasPeriod()) { setPeriod(other.getPeriod()); if (other.hasProcessInstanceId()) { setProcessInstanceId(other.getProcessInstanceId()); if (other.hasActivatedTime()) { setActivatedTime(other.getActivatedTime()); if (other.hasLastTriggered()) { setLastTriggered(other.getLastTriggered()); if (other.hasDEPRECATEDSessionId()) { setDEPRECATEDSessionId(other.getDEPRECATEDSessionId()); if (other.hasSessionId()) { setSessionId(other.getSessionId()); if (other.hasRepeatLimit()) {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer) obj; boolean result = true; result = result && (hasTimer() == other.hasTimer()); if (hasTimer()) { result = result && getTimer() .equals(other.getTimer()); } result = result && (hasTrigger() == other.hasTrigger()); if (hasTrigger()) { result = result && getTrigger() .equals(other.getTrigger()); } result = result && unknownFields.equals(other.unknownFields); return result; }
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public Builder mergeTimer(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance value) { if (timerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && timer_ != null && timer_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance()) { timer_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.newBuilder(timer_).mergeFrom(value).buildPartial(); } else { timer_ = value; } onChanged(); } else { timerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
public static TimerInstance readTimer(MarshallerReaderContext context, JBPMMessages.ProcessTimer.TimerInstance _timer) { TimerInstance timer = new TimerInstance(); timer.setId( _timer.getId()); timer.setTimerId( _timer.getTimerId() ); timer.setDelay( _timer.getDelay() ); timer.setPeriod( _timer.getPeriod() ); timer.setProcessInstanceId( _timer.getProcessInstanceId() ); if (_timer.hasDEPRECATEDSessionId()) { timer.setSessionId( _timer.getDEPRECATEDSessionId() ); } else { timer.setSessionId( _timer.getSessionId() ); } timer.setActivated( new Date( _timer.getActivatedTime() ) ); if ( _timer.hasLastTriggered() ) { timer.setLastTriggered( new Date( _timer.getLastTriggered() ) ); } timer.setRepeatLimit(_timer.getRepeatLimit()); return timer; }
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { if (timerBuilder_ != null) { return timerBuilder_.getMessageOrBuilder(); } else { return timer_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; } } /**
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getTimer() { if (timerBuilder_ == null) { return timer_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; } else { return timerBuilder_.getMessage(); } } /**
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { return timer_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; }
/** * <code>optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getTimer() { return timer_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; } /**
public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { return org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance(); }
result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); result = result && (hasTimerId() == other.hasTimerId()); if (hasTimerId()) { result = result && (getTimerId() == other.getTimerId()); result = result && (hasDelay() == other.hasDelay()); if (hasDelay()) { result = result && (getDelay() == other.getDelay()); result = result && (hasPeriod() == other.hasPeriod()); if (hasPeriod()) { result = result && (getPeriod() == other.getPeriod()); result = result && (hasProcessInstanceId() == other.hasProcessInstanceId()); if (hasProcessInstanceId()) { result = result && (getProcessInstanceId() == other.getProcessInstanceId()); result = result && (hasActivatedTime() == other.hasActivatedTime()); if (hasActivatedTime()) { result = result && (getActivatedTime() == other.getActivatedTime());
public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance buildPartial() { org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance result = new org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); if (other.hasTimerId()) { setTimerId(other.getTimerId()); if (other.hasDelay()) { setDelay(other.getDelay()); if (other.hasPeriod()) { setPeriod(other.getPeriod()); if (other.hasProcessInstanceId()) { setProcessInstanceId(other.getProcessInstanceId()); if (other.hasActivatedTime()) { setActivatedTime(other.getActivatedTime()); if (other.hasLastTriggered()) { setLastTriggered(other.getLastTriggered()); if (other.hasDEPRECATEDSessionId()) { setDEPRECATEDSessionId(other.getDEPRECATEDSessionId()); if (other.hasSessionId()) { setSessionId(other.getSessionId()); if (other.hasRepeatLimit()) {
public static TimerInstance readTimer(MarshallerReaderContext context, JBPMMessages.ProcessTimer.TimerInstance _timer) { TimerInstance timer = new TimerInstance(); timer.setId( _timer.getId()); timer.setTimerId( _timer.getTimerId() ); timer.setDelay( _timer.getDelay() ); timer.setPeriod( _timer.getPeriod() ); timer.setProcessInstanceId( _timer.getProcessInstanceId() ); if (_timer.hasDEPRECATEDSessionId()) { timer.setSessionId( _timer.getDEPRECATEDSessionId() ); } else { timer.setSessionId( _timer.getSessionId() ); } timer.setActivated( new Date( _timer.getActivatedTime() ) ); if ( _timer.hasLastTriggered() ) { timer.setLastTriggered( new Date( _timer.getLastTriggered() ) ); } timer.setRepeatLimit(_timer.getRepeatLimit()); return timer; }
public org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { return org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.getDefaultInstance(); }